mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
setup/archive: non-tar gz/xz fix non non-supplied $dst
This commit is contained in:
parent
e8c1c1d985
commit
ea2839018e
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ vextract() {
|
||||||
-f $archive
|
-f $archive
|
||||||
;;
|
;;
|
||||||
gz|bz2|xz|zst)
|
gz|bz2|xz|zst)
|
||||||
cp -f $archive "$dst"
|
cp -f $archive "${dst:-.}"
|
||||||
(
|
(
|
||||||
if [ "$dst" ]; then cd "$dst"; fi
|
if [ "$dst" ]; then cd "$dst"; fi
|
||||||
case ${sfx} in
|
case ${sfx} in
|
||||||
|
|
Loading…
Add table
Reference in a new issue