mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-19 10:15:48 +02:00
Set/use $as_unset, for those shells
(like Ultrix4's /bin/sh) that don't accept `unset'.
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
unset VERSION_CONTROL SIMPLE_BACKUP_SUFFIX
|
||||
if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
|
||||
as_unset=unset
|
||||
else
|
||||
as_unset=false
|
||||
fi
|
||||
|
||||
$as_unset VERSION_CONTROL SIMPLE_BACKUP_SUFFIX
|
||||
|
||||
if test "${VERSION_CONTROL+set}" = set; then
|
||||
echo "$0: the VERSION_CONTROL envvar is set --" \
|
||||
|
||||
Reference in New Issue
Block a user