Another globbing fix.

This commit is contained in:
Darren 'Tadgy' Austin 2022-10-09 00:54:06 +01:00
commit 8959ac6a46
4 changed files with 4 additions and 4 deletions

View file

@ -179,7 +179,7 @@ rm -rf "$BUILD_WORKDIR/$PKG_NAME-$PKG_VERSION" || die "Failed to clear cpam home
[[ -n "${SRC_FILENAMES[*]}" ]] && {
while read -r SRC; do
case "$SRC" in
*.tar.?z|*.t?z)
*.tar.*|*.t?z)
tar -xv -C "$BUILD_WORKDIR" -f "$SRC" || die "Failed to extract source: $SRC"
;;
*.zip|*.ZIP)

View file

@ -178,7 +178,7 @@ rm -rf "$BUILD_ROOT" && mkdir -m 755 "$BUILD_ROOT" || die "Failed to clear build
[[ -n "${SRC_FILENAMES[*]}" ]] && {
while read -r SRC; do
case "$SRC" in
*.tar.?z|*.t?z)
*.tar.*|*.t?z)
tar -xv -C "$BUILD_WORKDIR" -f "$SRC" || die "Failed to extract source: $SRC"
;;
*.zip|*.ZIP)

View file

@ -178,7 +178,7 @@ rm -rf "$BUILD_ROOT" && mkdir -m 755 "$BUILD_ROOT" || die "Failed to clear build
[[ -n "${SRC_FILENAMES[*]}" ]] && {
while read -r SRC; do
case "$SRC" in
*.tar.?z|*.t?z)
*.tar.*|*.t?z)
tar -xv -C "$BUILD_WORKDIR" -f "$SRC" || die "Failed to extract source: $SRC"
;;
*.zip|*.ZIP)

View file

@ -178,7 +178,7 @@ rm -rf "$BUILD_ROOT" && mkdir -m 755 "$BUILD_ROOT" || die "Failed to clear build
[[ -n "${SRC_FILENAMES[*]}" ]] && {
while read -r SRC; do
case "$SRC" in
*.tar.?z|*.t?z)
*.tar.*|*.t?z)
tar -xv -C "$BUILD_WORKDIR" -f "$SRC" || die "Failed to extract source: $SRC"
;;
*.zip|*.ZIP)