]> gitweb.fluxo.info Git - simplepkg.git/commitdiff
Adding package version version at info_builds (thanks to x-doctor)
authorrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Tue, 15 Sep 2009 16:49:12 +0000 (16:49 +0000)
committerrhatto <rhatto@04377dda-e619-0410-9926-eae83683ac58>
Tue, 15 Sep 2009 16:49:12 +0000 (16:49 +0000)
git-svn-id: svn+slack://slack.fluxo.info/var/svn/simplepkg@817 04377dda-e619-0410-9926-eae83683ac58

trunk/src/createpkg

index 021e7123a0519f909a32ed9bafe3f551a0f8ba3c..edb94c385e995b9638eb352d80e2baf4c6ec5163 100644 (file)
@@ -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