- this script works on openbsd if you remove the "-av" args from cp

and change >& to >, so I did.
This commit is contained in:
Bryce Denney 2001-11-10 04:09:16 +00:00
parent 9293dc29b8
commit 1064a2e2c8

View File

@ -15,7 +15,8 @@ makedlxdir() {
. $CONFFILE
for file in bochsrc.txt README testform.txt; do
if [ ! -f $DLXPATH/$file ]; then
cp -av $DLXINST/$file $DLXPATH/.
echo Copying $DLXINST/$file '->' $DLXPATH/.
cp $DLXINST/$file $DLXPATH/.
else
echo "ERROR: $file already exists in $DLXPATH. Remove it to replace."
fi;
@ -44,7 +45,7 @@ if test ! -d $DLXINST; then
fi
echo ok
echo -n "Checking for $GZIP..."
$GZIP < /dev/null >& /dev/null
$GZIP < /dev/null > /dev/null
if test $? = 0; then
echo ok
else