]> Zhao Yanbai Git Server - minix.git/commitdiff
fixed grep usage in filter (again)
authorBen Gras <ben@minix3.org>
Fri, 2 Oct 2009 13:29:36 +0000 (13:29 +0000)
committerBen Gras <ben@minix3.org>
Fri, 2 Oct 2009 13:29:36 +0000 (13:29 +0000)
tools/release.sh

index 32c9dd19a2524f71b639a653aaadc8ae5b3ad02b..d965d05df946f7b9be9264705654bad3a583fbe4 100755 (executable)
@@ -245,7 +245,7 @@ then        echo " * Transfering $PACKAGEDIR to $RELEASEPACKAGE"
         do     if [ -f $PACKAGEDIR/$p.tar.bz2 ]
                then
                  cp $PACKAGEDIR/$p.tar.bz2 $RELEASEPACKAGE/
-                 grep $p '^$PACKAGEDIR/List\|' >>$RELEASEPACKAGE/List || echo "$p not found in List"
+                 grep "^$p|" $PACKAGEDIR/List >>$RELEASEPACKAGE/List || echo "$p not found in List"
                else
                   echo "Can't copy $PACKAGEDIR/$p.tar.bz2. Missing."
                fi