fix
This commit is contained in:
1 parent
1e012b3a5b
commit
3efdb98579
1 file changed
+2
-2
@@ -9,12 +9,12 @@ fi
|
||||
|
||||
if test -n "$INSTALL_DIR" ; then
|
||||
mkdir -p "$INSTALL_DIR"
|
||||
tar_opts="--strip-components=1 -C \"$INSTALL_DIR\""
|
||||
set -- --strip-components=1 -C "$INSTALL_DIR"
|
||||
fi
|
||||
|
||||
case "$DIST_FORMAT" in
|
||||
gztar)
|
||||
tar -xzf "$DIST_FILE" $tar_opts
|
||||
tar -xzf "$DIST_FILE" $*
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported DIST_FORMAT ($DIST_FORMAT)" >&2
|
||||
|
||||
Reference in new issue
Block a user