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

Author: LaMi <[email protected]>
Date:   Wed Mar 17 21:02:44 2010 +0100

Ensure the nagios path does not contain a trailing slash

---

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

diff --git a/install.sh b/install.sh
index 9d1991c..421a42c 100755
--- a/install.sh
+++ b/install.sh
@@ -372,6 +372,7 @@ detect_nagios_path() {
                if [[ $? -eq 0 && $N_PPID -eq 1 ]]; then
                        N_BIN=${N_CMD%% *}
                        NAGIOS_PATH=${N_BIN%%/bin/nagios}
+                       NAGIOS_PATH=${NAGIOS_PATH%/}
                fi
        done
        IFS=" "


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to