summaryrefslogtreecommitdiff
path: root/tools/linux_packaging/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linux_packaging/install.sh')
-rwxr-xr-xtools/linux_packaging/install.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/linux_packaging/install.sh b/tools/linux_packaging/install.sh
index b66b6d9dbe..3041c26684 100755
--- a/tools/linux_packaging/install.sh
+++ b/tools/linux_packaging/install.sh
@@ -15,14 +15,14 @@ cd "${PKG_PATH}"
# fd 1 is stdout
if [ ! -t 1 ]; then
if which xterm > /dev/null; then
- exec xterm -e "${PKG_PATH}/.stage2.run"
+ exec xterm -e "${PKG_PATH}/.stage2.run $@"
elif which gnome-terminal > /dev/null; then
- exec gnome-terminal -e "${PKG_PATH}/.stage2.run"
+ exec gnome-terminal -e "${PKG_PATH}/.stage2.run $@"
elif which konsole > /dev/null; then
- exec konsole -e "${PKG_PATH}/.stage2.run"
+ exec konsole -e "${PKG_PATH}/.stage2.run $@"
fi
else
- "${PKG_PATH}/.stage2.run"
+ "${PKG_PATH}/.stage2.run" "$@"
fi
cd "${SAVED_PWD}"