* fixed compares

This commit is contained in:
peter 2002-01-19 11:54:26 +00:00
parent cb11c08d49
commit 7a72f78fe0

View File

@ -4,7 +4,7 @@
#
# Generate Sample Free Pascal configuration file
#
if [ $# == 0 ]; then
if [ $# = 0 ]; then
echo 'Usage :'
echo 'samplecfg fpcdir confdir'
echo 'fpcdir = Path where FPC is installed'
@ -29,7 +29,7 @@ fi
#
if [ -f $thefile ] ; then
mv $thefile $thefile.orig >/dev/null 2>&1
if [ $? == 0 ]; then
if [ $? = 0 ]; then
echo Saved old config to $thefile.orig
else
echo Could not save old config. Bailing out...