From 12fbfcdcdbfb20b42975888feabd439ce8136ad9 Mon Sep 17 00:00:00 2001 From: arakasi72 Date: Mon, 19 Jun 2017 16:31:21 +0100 Subject: [PATCH] Update rtsetup --- rtsetup | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rtsetup b/rtsetup index e15ae28..ba5a587 100644 --- a/rtsetup +++ b/rtsetup @@ -9,7 +9,11 @@ ###################################################################### PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/bin:/sbin -branch=develop +branch=$1 + +if [ -z $branch ]; then + branch=master +fi if [ "$(id -u)" != "0" ]; then echo "Must be run as root, directly or with sudo"