Fixed a bug that made the installer crash when called without arguments.

This commit is contained in:
Ramon Novoa 2014-09-18 12:55:45 +02:00
parent 99a7108547
commit 624abdf1fc
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@
MODE=$1
shift
if [ $# -gt 1 ]; then
shift
fi
# Defaults
PREFIX=/usr