Module: nagvis
Branch: master
Commit: b9d6c2d70b33b13c25056d3b028439edf629e0df
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=b9d6c2d70b33b13c25056d3b028439edf629e0df

Author: Lars Michelsen <[email protected]>
Date:   Wed Jun  9 22:07:54 2010 +0200

Only adding backend parameter to CALL when some are set

---

 install.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/install.sh b/install.sh
index c4dd9ef..782cd4f 100755
--- a/install.sh
+++ b/install.sh
@@ -529,6 +529,7 @@ check_backend() {
        fi
        
        BACKENDS=${BACKENDS#,}
+       [ ! -z "$BACKENDS" ] && CALL="$CALL -b $NAGVIS_BACKEND"
 }
 
 # Check Apache PHP module
@@ -1148,7 +1149,6 @@ if [ $FORCE -eq 0 ]; then
 
        # Check Backend prerequisites
        check_backend
-       CALL="$CALL -b $NAGVIS_BACKEND"
 
        # Check Graphviz
        GRAPHVIZ_REQ=`fmt_version $NEED_GV_VERSION` 


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to