From b09ebf53f0154bb90d15327f83d1064c53ca9c01 Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Sat, 13 Oct 2012 13:03:04 -0600 Subject: [PATCH] Rm conf files in subshell so rm won't kill jenkins-test if there are no files. --- sandbox/jenkins-test | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sandbox/jenkins-test b/sandbox/jenkins-test index 0b4c4d72..5e2fb4b0 100755 --- a/sandbox/jenkins-test +++ b/sandbox/jenkins-test @@ -62,8 +62,10 @@ export LANG="en_US.UTF-8" # ######################################### # # Remove conf files that's shouldn't exist. # # ######################################### # -rm ~/.pt-*conf* -rm ~/.my* +( + rm ~/.pt-*conf* + rm ~/.my* +) ############################# # Check and start test env. #