]> git.proxmox.com Git - debcargo-conf.git/commitdiff
Fix directory name for non-default versions
authorXimin Luo <infinity0@debian.org>
Sat, 9 Jun 2018 04:35:41 +0000 (21:35 -0700)
committerXimin Luo <infinity0@debian.org>
Sat, 9 Jun 2018 04:35:41 +0000 (21:35 -0700)
vars.sh.frag

index dc89bebbae1329abf173bb2b09bf1db45c9383ab..9a3f634b7feac6631374916a9c83df48dfc76d18 100644 (file)
@@ -17,7 +17,7 @@ test -x "$DEBCARGO" || abort 1 "debcargo found but not executable: $DEBCARGO"
 PKG="$1"
 VER="$2"
 
-PKGNAME=$($DEBCARGO deb-src-name "$PKG" || abort 1 "couldn't find package $PKG")
+PKGNAME=$($DEBCARGO deb-src-name "$PKG" "$VER" || abort 1 "couldn't find package $PKG")
 PKGDIR_REL="src/$PKGNAME"
 PKGDIR="$PWD/$PKGDIR_REL"
 BUILDDIR="$PWD/build/$PKGNAME"