Browse code

Merge "Workaround openrc failure on zsh"

Jenkins authored on 2014/11/03 21:01:41
Showing 1 changed files
... ...
@@ -575,7 +575,7 @@ function git_clone {
575 575
 
576 576
     RECLONE=$(trueorfalse False $RECLONE)
577 577
 
578
-    if [[ "$GIT_DEPTH" ]]; then
578
+    if [[ -n "${GIT_DEPTH}" ]]; then
579 579
         git_clone_flags="$git_clone_flags --depth $GIT_DEPTH"
580 580
     fi
581 581