about summary refs log tree commit diff
path: root/xbump
diff options
context:
space:
mode:
authorEnno Boland <g@s01.de>2016-01-07 08:10:42 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2016-01-07 13:35:02 +0100
commit3ac0299b6aab7ffa55fa0af53dc4ca0f1f3f12d4 (patch)
tree88fb817bf35f5fc005fb778c4769b6ea9fa16630 /xbump
parent275c743c1dca6ee554ecfb5877ab87466f04d0ef (diff)
downloadxtools-3ac0299b6aab7ffa55fa0af53dc4ca0f1f3f12d4.tar.gz
xtools-3ac0299b6aab7ffa55fa0af53dc4ca0f1f3f12d4.tar.xz
xtools-3ac0299b6aab7ffa55fa0af53dc4ca0f1f3f12d4.zip
xbump: fix bumping of common/shlib changes.
Diffstat (limited to 'xbump')
-rwxr-xr-xxbump5
1 files changed, 3 insertions, 2 deletions
diff --git a/xbump b/xbump
index df96c31..7b8de15 100755
--- a/xbump
+++ b/xbump
@@ -20,10 +20,11 @@ if [ -n "$(echo "$shlibs" | grep -vE "$spkpattern")" ]; then
 	exit 1
 elif [ -n "$shlibs" ]; then
 	git add common/shlibs
+	dirs=common/shlibs
 fi
 
-dirs=$(./xbps-src show "$pkg" |
-	sed -n '/^\(pkgname\|subpackage\)/s/[^:]*:[\t]*/srcpkgs\//p')
+dirs="$dirs $(./xbps-src show "$pkg" |
+	sed -n '/^\(pkgname\|subpackage\)/s/[^:]*:[\t]*/srcpkgs\//p')"
 
 git add $dirs