]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Properly fix snapshot diff
authorhno <>
Fri, 30 Dec 2005 09:26:32 +0000 (09:26 +0000)
committerhno <>
Fri, 30 Dec 2005 09:26:32 +0000 (09:26 +0000)
mksnapshot.sh

index c80c8aed5420967cb3af076e8d96723517bd3191..9fb1dd4b239eab125a97da39bbb89a5671978b45 100755 (executable)
@@ -37,7 +37,7 @@ EOS
 ./configure --silent
 make -s dist-all
 
-basetarball=/server/httpd/htdocs/squid-cache.org/Versions/v`echo $VERSION | cut -d. -f1`/`echo $VERSION | cut -d. -f-2`/${PACKAGE}-${VERSION}.tar.bz2
+basetarball=/server/httpd/htdocs/squid-cache.org/Versions/v`echo $VERSION | cut -d. -f1`/`echo $VERSION | cut -d. -f-2|cut -d- -f1`/${PACKAGE}-${VERSION}.tar.bz2
 if (echo $VERSION | grep PRE) || (echo $VERSION | grep STABLE); then
        echo "Differences from ${PACKAGE}-${VERSION} to ${PACKAGE}-${VERSION}-${date}" >${PACKAGE}-${VERSION}-${date}.diff
        if [ -f $basetarball ]; then