diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-01-10 20:37:44 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-01-10 20:37:55 +0100 |
commit | 2f401f4bc835d1f5ec856d9d55e68b74ca51eebb (patch) | |
tree | cbd1aa5194f426cf8e5d2524960b3188b3a396b8 /install.sh | |
parent | add mac address parameter for vm network (diff) |
helper scripts: optimize argument shifts
Diffstat (limited to 'install.sh')
-rwxr-xr-x | install.sh | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -5,11 +5,9 @@ if [ -z "$1" ] || [ -z "$2" ] || [ -z "$3" ]; then exit 1 fi name=$1 -shift -distro=$1 -shift -codename=$1 -shift +distro=$2 +codename=$3 +shift 3 cd "${BASH_SOURCE%/*}" source common/utils.sh |