diff --git a/fugit.sh b/fugit.sh index 5f56a34e2bd0a1bef8f027e0e1c55ebf1dad87b6..24ee1932f594c92d05694cf6976741b9655af6f7 100755 --- a/fugit.sh +++ b/fugit.sh @@ -22,14 +22,13 @@ fi if [ -z $1 ]; then # read branch name from comments.txt branch_name=`cat "${current_dir}_submissionText.html" | sed -e 's/<[^>]*>//g'` # remove all html tags. - echo $branch_name else branch_name=$1 fi if [ -z $branch_name ]; then - printf "No branch name provided via comments.txt\n" >&2 + printf "No branch name provided via submissionText.html\n" >&2 exit 1; fi