packages: crossnacl-binutils/get-source.sh - mention shorthash of existing ...

glen glen at pld-linux.org
Sat Jul 7 00:06:09 CEST 2012


Author: glen                         Date: Fri Jul  6 22:06:09 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- mention shorthash of existing tarball

---- Files affected:
packages/crossnacl-binutils:
   get-source.sh (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/crossnacl-binutils/get-source.sh
diff -u packages/crossnacl-binutils/get-source.sh:1.4 packages/crossnacl-binutils/get-source.sh:1.5
--- packages/crossnacl-binutils/get-source.sh:1.4	Fri Jul  6 23:59:00 2012
+++ packages/crossnacl-binutils/get-source.sh	Sat Jul  7 00:06:03 2012
@@ -49,11 +49,11 @@
 githash=$NACL_BINUTILS_COMMIT
 git show $githash:bfd/configure.in > configure.in
 version=$(awk '/AM_INIT_AUTOMAKE/{v=$NF; sub(/\)/, "",v);print v}' configure.in)
-shorthash=git$(git rev-parse --short $githash)
-prefix=$package-$version-$shorthash
+shorthash=$(git rev-parse --short $githash)
+prefix=$package-$version-git$shorthash
 
 if [ -f $prefix.tar.bz2 ]; then
-	echo "Tarball $prefix.tar.bz2 already exists"
+	echo "Tarball $prefix.tar.bz2 already exists at $shorthash"
 	exit 0
 fi
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/crossnacl-binutils/get-source.sh?r1=1.4&r2=1.5



More information about the pld-cvs-commit mailing list