[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

X Strike Force SVN commit: rev 523 - trunk/debian/scripts



Author: branden
Date: 2003-09-13 02:01:19 -0500 (Sat, 13 Sep 2003)
New Revision: 523

Modified:
   trunk/debian/scripts/manifest-install-reconcile
Log:
debian/scripts/manifest-install-reconcile: merge changes from revisions 304
  and 305 on branches/4.3.0/sid


Modified: trunk/debian/scripts/manifest-install-reconcile
===================================================================
--- trunk/debian/scripts/manifest-install-reconcile	2003-09-13 06:23:28 UTC (rev 522)
+++ trunk/debian/scripts/manifest-install-reconcile	2003-09-13 07:01:19 UTC (rev 523)
@@ -7,7 +7,8 @@
 # the packages ship.
 
 # Minuses in the diff are things that are built but not shipped; pluses are
-# things that are shipped but not build (these can cause build failures!)
+# things that are shipped but not built (these can cause package build
+# failures, a.k.a. FTBFS bugs -- don't let this happen!).
 
 # There are false results for every architecture.
 
@@ -34,16 +35,16 @@
 #   for several architectures.
 
 for F in MANIFEST.*; do
-    ARCH=$(echo $F | sed 's/MANIFEST\.//')
+    ARCH=$(echo "$F" | sed 's/MANIFEST\.//')
     echo $ARCH
     FILE=$(tempfile)
     for G in *.install; do
-        if [ -e $G.$ARCH ]; then
-            awk '{print $1}' < $G.$ARCH >> $FILE
+        if [ -e "$G.$ARCH" ]; then
+            awk '{print $1}' < "$G.$ARCH" >> "$FILE"
         else
-            awk '{print $1}' < $G >> $FILE
+            awk '{print $1}' < "$G" >> "$FILE"
         fi
     done
-    sort -u < $FILE > INSTALL.$ARCH
-    rm $FILE
+    sort -u < "$FILE" > "INSTALL.$ARCH"
+    rm "$FILE"
 done



Reply to: