[gnome-shell] gnome-shell-build-setup.sh: Fix warning about git-bz symlink



commit f6c2902fe484b572e136661c1a5a42f64894a36e
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Fri Oct 5 13:57:31 2012 -0400

    gnome-shell-build-setup.sh: Fix warning about git-bz symlink
    
    The warning when changing the git-bz symlink triggered on
    initial install. Suppress that.

 tools/build/gnome-shell-build-setup.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh
index 8ff7fbb..a3c0cbe 100755
--- a/tools/build/gnome-shell-build-setup.sh
+++ b/tools/build/gnome-shell-build-setup.sh
@@ -339,7 +339,7 @@ old="`readlink $HOME/bin/git-bz`"
 new="`readlink $HOME/bin/git-bz`"
 echo "done"
 
-if test "$old" != "$new" ; then
+if test "$old" != "$new" -a "$old" != "" ; then
     echo "WARNING: $HOME/bin/git-bz was changed from '$old' to '$new'"
 fi
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]