mirror of
https://github.com/erenfro/gen2stage4.git
synced 2024-11-21 22:25:35 -05:00
Avoid globbing
This commit is contained in:
parent
be1ce4a1fd
commit
6288d1ae1e
1 changed files with 3 additions and 3 deletions
|
@ -15,11 +15,11 @@ else
|
|||
echo "Extracting \`${STAGE_FILE}\` inplace."
|
||||
fi
|
||||
|
||||
if [ $EXT == "xz" ]; then
|
||||
if [ "$EXT" == "xz" ]; then
|
||||
tar -I 'xz -T0' -xvf "${STAGE_FILE}" --xattrs-include='*.*' --numeric-owner
|
||||
elif [ $EXT == "bz2" ]; then
|
||||
elif [ "$EXT" == "bz2" ]; then
|
||||
tar -I pbzip2 -xvf "${STAGE_FILE}" --xattrs-include='*.*' --numeric-owner
|
||||
elif [ $EXT == "gz" ]; then
|
||||
elif [ "$EXT" == "gz" ]; then
|
||||
tar -I unpigz -xvf "${STAGE_FILE}" --xattrs-include='*.*' --numeric-owner
|
||||
else
|
||||
echo "Not sure how to unpack \`${STAGE_FILE}\`"
|
||||
|
|
Loading…
Reference in a new issue