You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2015/12/22 17:28:40 UTC

[09/13] incubator-trafodion git commit: added the missing quotes

added the missing quotes


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/25444792
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/25444792
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/25444792

Branch: refs/heads/master
Commit: 254447922f3df5aaa411ca7c5ffff0b6528265c5
Parents: cbcde79
Author: Anuradha Hegde <An...@esgyn.com>
Authored: Wed Dec 16 23:49:02 2015 +0000
Committer: Anuradha Hegde <An...@esgyn.com>
Committed: Wed Dec 16 23:49:02 2015 +0000

----------------------------------------------------------------------
 core/sqf/sql/scripts/cleanlogs | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/25444792/core/sqf/sql/scripts/cleanlogs
----------------------------------------------------------------------
diff --git a/core/sqf/sql/scripts/cleanlogs b/core/sqf/sql/scripts/cleanlogs
index c903d68..83d9b3a 100755
--- a/core/sqf/sql/scripts/cleanlogs
+++ b/core/sqf/sql/scripts/cleanlogs
@@ -40,27 +40,27 @@ function usage() {
 
 function core_logs() {
  if [[ ! -z $L_PDSH ]]; then
-   $L_PDSH rm -f ${MY_SQROOT}/logs/*.err
-   $L_PDSH rm -f ${MY_SQROOT}/logs/*.log
-   $L_PDSH rm -f ${MY_SQROOT}/logs/*log.[0-9]*
+   $L_PDSH "rm -f ${MY_SQROOT}/logs/*.err"
+   $L_PDSH "rm -f ${MY_SQROOT}/logs/*.log"
+   $L_PDSH "rm -f ${MY_SQROOT}/logs/*log.[0-9]*"
  fi
 }
 
 function dcs_logs() {
  if [[ ! -z $L_PDSH ]]; then
-   $L_PDSH rm -f ${DCS_INSTALL_DIR}/logs/*.log
-   $L_PDSH rm -f ${DCS_INSTALL_DIR}/logs/*.log.[0-9]*
-   $L_PDSH rm -f ${DCS_INSTALL_DIR}/logs/*.out
-   $L_PDSH rm -f ${DCS_INSTALL_DIR}/logs/*.out.[0-9]*
+   $L_PDSH "rm -f ${DCS_INSTALL_DIR}/logs/*.log"
+   $L_PDSH "rm -f ${DCS_INSTALL_DIR}/logs/*.log.[0-9]*"
+   $L_PDSH "rm -f ${DCS_INSTALL_DIR}/logs/*.out"
+   $L_PDSH "rm -f ${DCS_INSTALL_DIR}/logs/*.out.[0-9]*"
  fi
 }
 
 function rest_logs() {
  if [[ ! -z $L_PDSH ]]; then
-   $L_PDSH rm -f ${REST_INSTALL_DIR}/logs/*.log
-   $L_PDSH rm -f ${REST_INSTALL_DIR}/logs/*.log.[0-9]*
-   $L_PDSH rm -f ${REST_INSTALL_DIR}/logs/*.out
-   $L_PDSH rm -f ${REST_INSTALL_DIR}/logs/*.out.[0-9]*
+   $L_PDSH "rm -f ${REST_INSTALL_DIR}/logs/*.log"
+   $L_PDSH "rm -f ${REST_INSTALL_DIR}/logs/*.log.[0-9]*"
+   $L_PDSH "rm -f ${REST_INSTALL_DIR}/logs/*.out"
+   $L_PDSH "rm -f ${REST_INSTALL_DIR}/logs/*.out.[0-9]*"
  fi
 }