aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--trunk/src/createpkg3
1 files changed, 3 insertions, 0 deletions
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