[Midnightbsd-cvs] mports: chkfake: strip whitespace from the end of lines.
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Wed Oct 3 15:25:17 EDT 2007
Log Message:
-----------
strip whitespace from the end of lines.
Modified Files:
--------------
mports/Tools/scripts:
chkfake (r1.1 -> r1.2)
-------------- next part --------------
Index: chkfake
===================================================================
RCS file: /home/cvs/mports/Tools/scripts/chkfake,v
retrieving revision 1.1
retrieving revision 1.2
diff -LTools/scripts/chkfake -LTools/scripts/chkfake -u -r1.1 -r1.2
--- Tools/scripts/chkfake
+++ Tools/scripts/chkfake
@@ -45,7 +45,8 @@
echo "Checking $DESTDIR"
-for ENTRY in `cat $PLIST | grep -e '^[^@]\|^@cw\?d'`; do
+for _ENTRY in `cat $PLIST | grep -e '^[^@]\|^@cw\?d'`; do
+ ENTRY=`echo $_ENTRY | awk '{print $1}'`
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