The Autoconf manual says it is OK these days.
* lib/install.sh: Adjust.
* NEWS: Update.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
* Cleanups and modernizations:
- - The install-sh script now unconditionally assumes that a working
- 'dirname' program is available.
+ - The install-sh script has been modernized, and now makes the following
+ assumptions unconditionally:
+ (1) a working 'dirname' program is available;
+ (2) the ${var:-value} shell parameters substitution works;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'
IFS=" "" $nl"
-# set DOITPROG to echo to test this script
+# Set DOITPROG to "echo" to test this script.
-# Don't use :- since 4.3BSD and earlier shells don't like it.
doit=${DOITPROG-}
-if test -z "$doit"; then
- doit_exec=exec
-else
- doit_exec=$doit
-fi
+doit_exec=${doit:-exec}
# Put in absolute file names if you don't have them in your path;
# or use environment vars.