This commit is contained in:
2019-10-10 16:23:18 +02:00
parent 1e012b3a5b
commit 3efdb98579

View File

@@ -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