From 4781b96dd9ce22428e96459f26b40b62ae38fd01 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT/postscripts/getmypostscript.cumulus --- xCAT/postscripts/getmypostscript.cumulus | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xCAT/postscripts/getmypostscript.cumulus b/xCAT/postscripts/getmypostscript.cumulus index b51181d9b..961671a67 100755 --- a/xCAT/postscripts/getmypostscript.cumulus +++ b/xCAT/postscripts/getmypostscript.cumulus @@ -1,5 +1,5 @@ #!/bin/bash -#this script send getpostscript request to xcatd on MN and generate /xcatpost/mypostscript +#this script send getpostscript request to xcatd on MN and generate /xcatpost/mypostscript #which includes the glocal environment variables to run postscripts if [ -z "$XCATDEST" ]; then @@ -13,9 +13,9 @@ echo " -if [ -f /tmp/resp.xml ]; then +if [ -f /tmp/resp.xml ]; then #remove any existing response file - rm /tmp/resp.xml; + rm /tmp/resp.xml; fi @@ -42,7 +42,7 @@ if [ -f /tmp/resp.xml ] && grep '' /tmp/resp.xml >/dev/null 2>&1 ;then echo "Success to obtain mypostscript!" else echo "Failed to obtain mypostscript!" - exit 1 + exit 1 fi #parse the script from the xml-formated resposne