aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-09-15 16:49:12 +0000
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>2009-09-15 16:49:12 +0000
commit09df0edd0eb794870beca12e055fcfbd98764c06 (patch)
treefc92050cd2f15873a20bd2b73ab61d9ca70fe40e
parent9b71522f012d8428fafa34361af92b3975b586b6 (diff)
downloadsimplepkg-09df0edd0eb794870beca12e055fcfbd98764c06.tar.gz
simplepkg-09df0edd0eb794870beca12e055fcfbd98764c06.tar.bz2
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
-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