aboutsummaryrefslogtreecommitdiff
path: root/lang/fpc-devel
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-12-10 15:45:07 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2001-12-10 15:45:07 +0000
commitb6aaabf46326e8da3e07c7b86cf5dbb57d863432 (patch)
treeebf1de8c642469cb2bcc925d63b54a2482804538 /lang/fpc-devel
parentd8c16b8c3e3e254624c17bf0546cbeade5041507 (diff)
downloadports-b6aaabf46326e8da3e07c7b86cf5dbb57d863432.tar.gz
ports-b6aaabf46326e8da3e07c7b86cf5dbb57d863432.zip
Notes
Diffstat (limited to 'lang/fpc-devel')
-rw-r--r--lang/fpc-devel/files/fix-samplecfg11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/fpc-devel/files/fix-samplecfg b/lang/fpc-devel/files/fix-samplecfg
index 03f1f13c9e79..187375e6354f 100644
--- a/lang/fpc-devel/files/fix-samplecfg
+++ b/lang/fpc-devel/files/fix-samplecfg
@@ -1,5 +1,5 @@
--- samplecfg Sat Dec 23 15:02:40 2000
-+++ samplecfg.new Thu Nov 29 07:44:20 2001
++++ samplecfg.new Sun Dec 9 07:12:15 2001
@@ -4,7 +4,7 @@
#
# Generate Sample Free Pascal configuration file
@@ -9,6 +9,15 @@
echo 'Usage :'
echo 'samplecfg fpcdir confdir'
echo 'fpcdir = Path where FPC is installed'
+@@ -29,7 +29,7 @@
+ #
+ if [ -f $thefile ] ; then
+ mv $thefile $thefile.orig >/dev/null 2>&1
+- if [ $? == 0 ]; then
++ if [ $? -eq 0 ]; then
+ echo Saved old config to $thefile.orig
+ else
+ echo Could not save old config. Bailing out...
@@ -38,9 +38,15 @@
fi