Author: goneri-guest
Date: 2007-03-04 00:04:30 +0000 (Sun, 04 Mar 2007)
New Revision: 2447

Modified:
   packages/tarballs/getsources.sh
Log:
deals correctly with epoch


Modified: packages/tarballs/getsources.sh
===================================================================
--- packages/tarballs/getsources.sh     2007-03-03 22:27:30 UTC (rev 2446)
+++ packages/tarballs/getsources.sh     2007-03-04 00:04:30 UTC (rev 2447)
@@ -14,7 +14,7 @@
   echo -n "$x: "
   CACHE="$(apt-cache showsrc $x)"
   DIR="$(echo "$CACHE" | sed -ne 's/Directory: //p' | head -n 1)"
-  SVNRELEASE="$(cat ../trunk/$x/debian/changelog | head -n 1 | sed 
's/.*(\(.*\)).*/\1/' | sed 's/-.*//')"
+  SVNRELEASE="$(cat ../trunk/$x/debian/changelog | head -n 1 | sed 
's/.*(\(.*\)).*/\1/' | sed 's/-.*//' | sed 's/.*://')"
   #TARBALL="$(echo "$CACHE" | sed -ne 's/.* \(.*[.]tar[.]gz\)/\1/p'| head -n 
1)"
   if [ "$SVNRELEASE" = "" ]; then
       echo "can't read current release from changelog"


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to