mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Missing patch. Part of Makefile revision 1.2 fix
PR: 32645 Submitted by: Kuang-che Wu <kcwu@ck.tp.edu.tw> (PR), maintainer (fix)
This commit is contained in:
parent
d8c16b8c3e
commit
b6aaabf463
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51315
2 changed files with 20 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
--- samplecfg Sat Dec 23 15:02:40 2000
|
--- 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 @@
|
@@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
# Generate Sample Free Pascal configuration file
|
# Generate Sample Free Pascal configuration file
|
||||||
|
@ -9,6 +9,15 @@
|
||||||
echo 'Usage :'
|
echo 'Usage :'
|
||||||
echo 'samplecfg fpcdir confdir'
|
echo 'samplecfg fpcdir confdir'
|
||||||
echo 'fpcdir = Path where FPC is installed'
|
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 @@
|
@@ -38,9 +38,15 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
--- samplecfg Sat Dec 23 15:02:40 2000
|
--- 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 @@
|
@@ -4,7 +4,7 @@
|
||||||
#
|
#
|
||||||
# Generate Sample Free Pascal configuration file
|
# Generate Sample Free Pascal configuration file
|
||||||
|
@ -9,6 +9,15 @@
|
||||||
echo 'Usage :'
|
echo 'Usage :'
|
||||||
echo 'samplecfg fpcdir confdir'
|
echo 'samplecfg fpcdir confdir'
|
||||||
echo 'fpcdir = Path where FPC is installed'
|
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 @@
|
@@ -38,9 +38,15 @@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue