Browse Source

make sure this works with non-Bash, too

master
parent
commit
c11de5a895
  1. 6
      openpkg/rc

6
openpkg/rc

@ -25,8 +25,8 @@
# program name, version and date
progname="rc"
progvers="1.0.7"
progdate="17-Oct-2001"
progvers="1.0.8"
progdate="02-Nov-2001"
##
## command line option parsing
@ -308,7 +308,7 @@ for cmd in $cmds; do
if [ ".$print" = .1 ]; then
cat $tmpfile
elif [ ".$eval" = .1 ]; then
echo "source $tmpfile; rm -f $tmpfile 2>/dev/null || true"
echo ". $tmpfile; rm -f $tmpfile 2>/dev/null || true"
fi
done

Loading…
Cancel
Save