From a3722e014e2d622b0747ac7d5ecda49c70cba94d Mon Sep 17 00:00:00 2001 From: DrSlony Date: Wed, 11 Mar 2015 15:05:33 +0100 Subject: [PATCH] Small safety improvement for buildRT --- tools/buildRT | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/buildRT b/tools/buildRT index 92b1766da..ca7756358 100755 --- a/tools/buildRT +++ b/tools/buildRT @@ -1,6 +1,6 @@ #!/usr/bin/env bash # Written by DrSlony -# buildRT version 4.2, 2015-01-20 +# buildRT version 4.3, 2015-03-11 # Please report bugs or enhancements to http://code.google.com/p/rawtherapee/issues/list # www.rawtherapee.com # www.londonlight.org @@ -25,7 +25,7 @@ esac #--- Set some variables unset choiceNumber choiceNumbers buildType buildTypes list branch branches repo -version="4.2" +version="4.3" movetoPatched="" repo="${HOME}/rawtherapee" procTarget=2 @@ -321,6 +321,7 @@ for choiceNumber in "${choiceNumbers[@]}"; do a|A) printf "%s\n" "Cannot proceed if old build directory exists." "Remove it or rename it, then re-run this script." "Aborting" exit 0 ;; *) printf "%s\n" "Unknown response \"$REPLY\"" + exit 1 ;; esac }