about summary refs log tree commit diff
path: root/xbump
diff options
context:
space:
mode:
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