diff --git a/d/newrpl/SlackBuild b/d/newrpl/SlackBuild index 3439651e..98c6834c 100755 --- a/d/newrpl/SlackBuild +++ b/d/newrpl/SlackBuild @@ -3,8 +3,7 @@ # variables VERSION=${VERSION:-"trunk"} -BUILD=2 - +BUILD=3 TAG=gwh OUTPUT=/tmp TMP=/tmp/$TAG @@ -33,7 +32,7 @@ git pull --all cp -R $REPOSITORY $TMP/ cd $TMP/$PRGNAM/ -[ "x$VERSION" == "xtrunk" ] && VERSION="git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION +[ "x$VERSION" == "xtrunk" ] && VERSION="$(git rev-list --count master)_git_$(git log -1 --format=%h_%ad --date=format:%Y.%m.%d)" || git checkout $VERSION # https://www.hpmuseum.org/forum/thread-17667-post-154012.html#pid154012 # elf2rom is only needed to build actual calculator firmware