From 22fe457bc197a065218c211826b283c8a1005d8f Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 12 Aug 2016 15:57:11 -0400 Subject: [PATCH] Fix tcons interaction with filename globbing Filename globbing strings are not good to happen to noderanges. Use quotes to avoid it in script. Caller still needs to be careful to quote/escape on their end. --- xCAT-client/bin/tcons | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-client/bin/tcons b/xCAT-client/bin/tcons index c7f5ea4fb..cc0af755d 100755 --- a/xCAT-client/bin/tcons +++ b/xCAT-client/bin/tcons @@ -1,7 +1,7 @@ #!/bin/sh f=1 p=0 -for i in `nodels $1`; do +for i in `nodels "$1"`; do if [ "$f" = 1 ]; then f=0 qdate=$((`date +%s`+5))