]> Zhao Yanbai Git Server - minix.git/commitdiff
Sed typo
authorBen Gras <ben@minix3.org>
Fri, 17 Mar 2006 14:03:07 +0000 (14:03 +0000)
committerBen Gras <ben@minix3.org>
Fri, 17 Mar 2006 14:03:07 +0000 (14:03 +0000)
commands/scripts/packme.sh

index ea6e18231eaa36fb5b66424ecbfe5395f412511c..618588e370a84541f359cfc7b5e710044aa574b4 100644 (file)
@@ -34,7 +34,7 @@ then  pack=${cddrive}p2
                        if [ "$y" = y -o "$y" = Y ]
                        then    echo "Extracting $CDPACK/$package .."
                                cat $package | packit -
-                               srcname="`echo $package | sed 's/.tar.bz/-src.tar.bz'`"
+                               srcname="`echo $package | sed 's/.tar.bz/-src.tar.bz/'`"
                                srcarc="$CDSRC/$srcname"
                                if [ -f "$srcarc" ]
                                then    echo -n "Install its source (y/N) ? "