From 09df0edd0eb794870beca12e055fcfbd98764c06 Mon Sep 17 00:00:00 2001 From: rhatto Date: Tue, 15 Sep 2009 16:49:12 +0000 Subject: Adding package version version at info_builds (thanks to x-doctor) git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@817 04377dda-e619-0410-9926-eae83683ac58 --- trunk/src/createpkg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/trunk/src/createpkg b/trunk/src/createpkg index 021e712..edb94c3 100644 --- a/trunk/src/createpkg +++ b/trunk/src/createpkg @@ -197,7 +197,10 @@ function info_builds { for i in $PKG_PATH; do PACKAGE=`basename $i .SlackBuild` NAME_UP=`echo $PACKAGE | tr [a-z] [A-Z]` + ID_VERSION=`grep '^SRC_VERSION' $i | cut -f2- -d":" | cut -f2 -d= | cut -f1 -d}` eecho $commun "$NAME_UP: " + eecho Version: "$ID_VERSION" + eecho PKG_DIR=`dirname $i` if [ -e $PKG_DIR/slack-desc ]; then -- cgit v1.2.3