diff options
author | Sven Gothel <[email protected]> | 2010-11-24 05:09:51 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-24 05:09:51 +0100 |
commit | 41cc49cc27ce6c77e0801691ce1115a715b9e3cc (patch) | |
tree | 86d53473f703cc02f785bb62294dbef4ab7874d2 | |
parent | d70ec015fc7a335361aa6b73ffbbea107178cad2 (diff) |
Fix relocate script, dest wsdir shall not exist
-rwxr-xr-x | hudson-builds/relocate-webstart-folder.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hudson-builds/relocate-webstart-folder.sh b/hudson-builds/relocate-webstart-folder.sh index 359ac92..affbb4e 100755 --- a/hudson-builds/relocate-webstart-folder.sh +++ b/hudson-builds/relocate-webstart-folder.sh @@ -33,8 +33,8 @@ if [ ! -e $abuild ] ; then exit 1 fi -if [ ! -e $wsdir ] ; then - echo $wsdir does not exist +if [ -e $wsdir ] ; then + echo $wsdir already exist exit 1 fi |