fix
This commit is contained in:
@@ -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