From 54c81eec156e8de3ea687ee3f76cc95b0c2564d0 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 29 Apr 2018 14:57:59 +0530 Subject: [PATCH] Simplify passing arguments to linux-installer.py --- setup/linux-installer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/linux-installer.sh b/setup/linux-installer.sh index 52272ffc0a..94bcf0ad68 100644 --- a/setup/linux-installer.sh +++ b/setup/linux-installer.sh @@ -16,7 +16,7 @@ else fi fi -$PYTHON -c "import sys; script_launch=lambda:sys.exit('Download of installer failed!'); exec(sys.stdin.read()); script_launch()" "$1" "$2" "$3" "$4" "$5" "$6" "$7" "$8" <<'CALIBRE_LINUX_INSTALLER_HEREDOC' +$PYTHON -c "import sys; script_launch=lambda:sys.exit('Download of installer failed!'); exec(sys.stdin.read()); script_launch()" "$@" <<'CALIBRE_LINUX_INSTALLER_HEREDOC' # {{{ # HEREDOC_START #!/usr/bin/env python2