]> git.entuzijast.net Git - imunes.git/commitdiff
Bug: LIBDIR is "" if not set
authormiljenko <miljenko>
Mon, 2 Jan 2006 18:07:59 +0000 (18:07 +0000)
committermiljenko <miljenko>
Mon, 2 Jan 2006 18:07:59 +0000 (18:07 +0000)
Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

quagga.tcl

index 067c3601a5a166ffa01c99686d9cff8832918aa6..288da3bc210bc8c2185676f94b8fdb1d2bbb65ab 100755 (executable)
@@ -148,7 +148,7 @@ proc $MODULE.cfggen { node } {
 
 proc $MODULE.bootcmd { node } {
     global ROOTDIR LIBDIR
-    if { $ROOTDIR == "." && $LIBDIR == "." } {
+    if { $ROOTDIR == "." && $LIBDIR == "" } {
         ;# on remote GUI / PC:
         return "/usr/local/bin/quaggaboot.sh"
     } else {
@@ -163,7 +163,7 @@ proc $MODULE.bootcmd { node } {
 #   set shell [router.quagga.shellcmd $node_id]
 # FUNCTION
 #   Procedure shellcmd returns the shell that will be opened
-#   as a default shell for the virtual node. 
+#   as a default shell for the virtual node.
 #   Procedure router.quagga.shellcmd returns vtysh.
 # INPUTS
 #   * node_id - id of the node (type of the node is router