]> Zhao Yanbai Git Server - minix.git/commitdiff
Index without .tar.bz
authorBen Gras <ben@minix3.org>
Sun, 26 Mar 2006 16:00:25 +0000 (16:00 +0000)
committerBen Gras <ben@minix3.org>
Sun, 26 Mar 2006 16:00:25 +0000 (16:00 +0000)
tools/release.sh

index 6a2ff3f638240fad36490192e59d38de691011f5..eef9cc2bc2b6d0e17dc67e6a33cc6c7c89022373 100755 (executable)
@@ -249,7 +249,8 @@ if [ -d $PACKAGEDIR -a -d $PACKAGESOURCEDIR ]
 then   echo " * Indexing packages"
        ( cd $PACKAGEDIR
          for p in *.tar.bz2
-         do    descr="../`echo $p | sed 's/.tar.bz2//'`/.descr"
+         do    p="`echo $p | sed 's/.tar.bz2//'`"
+               descr="../$p/.descr"
                if [ -f "$descr" ]
                then    echo "$p|`cat $descr`"
                fi