[Midnightbsd-cvs] mports: chkfake: The trailing whitespace bug fix broke the cwd logic.
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Thu Oct 25 16:18:54 EDT 2007
Log Message:
-----------
The trailing whitespace bug fix broke the cwd logic. fixed.
Modified Files:
--------------
mports/Tools/scripts:
chkfake (r1.3 -> r1.4)
-------------- next part --------------
Index: chkfake
===================================================================
RCS file: /home/cvs/mports/Tools/scripts/chkfake,v
retrieving revision 1.3
retrieving revision 1.4
diff -LTools/scripts/chkfake -LTools/scripts/chkfake -u -r1.3 -r1.4
--- Tools/scripts/chkfake
+++ Tools/scripts/chkfake
@@ -46,7 +46,7 @@
echo "Checking $DESTDIR"
for _ENTRY in `cat $PLIST | grep -e '^[^@]\|^@cw\?d'`; do
- ENTRY=`echo $_ENTRY | awk '{print $1}'`
+ ENTRY=`echo $_ENTRY | sed -E 's/[ ]*$//'`
if echo $ENTRY | grep -e '^@cw\?d' > /dev/null; then
CWD=`echo $ENTRY | sed -E 's/^@cw?d[ \t]*([^\n]*)/\1/'`;
if [ ! -n "$CWD" ]; then
More information about the Midnightbsd-cvs
mailing list