Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=pacman-g2.git;a=commitdiff;h=c8a6a8a884e9f16ee08e34fa6c516345eca5ca7c
commit c8a6a8a884e9f16ee08e34fa6c516345eca5ca7c Author: crazy <[email protected]> Date: Sun May 21 10:31:32 2017 +0200 wipe .version diff --git a/scripts/gensync b/scripts/gensync index 5b9f3e7..230babd 100755 --- a/scripts/gensync +++ b/scripts/gensync @@ -285,22 +285,12 @@ for file in `find $rootdir -name $BUILDSCRIPT`; do fi done -if [ ! "$check_only" ]; then -ver="" -if ( cd $rootdir; git rev-parse --get-root &>/dev/null); then - ver=`cd $rootdir; git describe 2>/dev/null` -fi -extra="" -if [ -n "$ver" ]; then - echo ${ver//-/.} > $gstmpdir/.version - extra=".version" -fi echo "gensync: compressing to $destfile..." >&2 cd $gstmpdir -fakeroot tar --use-compress-program=xz -cf $destfile $extra * +fakeroot tar --use-compress-program=xz -cf $destfile * [ $? -gt 0 ] && die "error writing to $destfile" rm -rf $gstmpdir -fi + exit 0 _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
