projects
/
fusionforge
/
fusionforge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
project home
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cf2e20d
)
Work in progress
author
Roland Mas
<lolando@debian.org>
Thu, 28 Jun 2012 13:04:39 +0000
(13:04 +0000)
committer
Roland Mas
<lolando@debian.org>
Thu, 28 Jun 2012 13:04:39 +0000
(13:04 +0000)
tests/scripts/fusionforge-build-and-test-deb.sh
patch
|
blob
|
history
diff --git
a/tests/scripts/fusionforge-build-and-test-deb.sh
b/tests/scripts/fusionforge-build-and-test-deb.sh
index b4d2efd9fcb65dfa1f573f874dd6914cf93f98bd..ae5c16b95051e55cc931711b8fa5f1347da99435 100755
(executable)
--- a/
tests/scripts/fusionforge-build-and-test-deb.sh
+++ b/
tests/scripts/fusionforge-build-and-test-deb.sh
@@
-35,8
+35,8
@@
EOF
cd $CHECKOUTPATH/src
PKGNAME=$(dpkg-parsechangelog | awk '/^Source:/ { print $2 }')
PKGVERS=$(dpkg-parsechangelog | awk '/^Version:/ { print $2 }')
-MAJOR=$
(echo $PKGVERS | sed 's,([^-]*).*,\\1,')
-SMAJOR=$
(echo $MAJOR | sed 's/^.://')
+MAJOR=$
{PKGVERS%-*}
+SMAJOR=$
{MAJON#*:}
if [ -d $CHECKOUTPATH/.svn ] ; then
MINOR=svn$(svn info | awk '/^Revision:/ { print $2 }')
elif [ -d $CHECKOUTPATH/.bzr ] ; then