Simplify passing arguments to linux-installer.py

This commit is contained in:
Kovid Goyal 2018-04-29 14:57:59 +05:30
parent 2723d9f2cf
commit 54c81eec15
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

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