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