[PATCH] osmo-ttcn3-hacks[master]: log_merge.sh: Fix removal of log files

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Pau Espin Pedrol gerrit-no-reply at lists.osmocom.org
Tue Mar 20 21:07:09 UTC 2018


Review at  https://gerrit.osmocom.org/7408

log_merge.sh: Fix removal of log files

Files are not being expanded and fails:

Removing Input log files !!!
rm: cannot remove 'GGSN_Tests*.log': No such file or directory

Change-Id: I74e1f00c5e2b41668ebf2060f547fcc01212956d
---
M log_merge.sh
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/08/7408/1

diff --git a/log_merge.sh b/log_merge.sh
index dee9cc2..d3c50f7 100755
--- a/log_merge.sh
+++ b/log_merge.sh
@@ -26,5 +26,5 @@
 
 if [ "$2" = "--rm" ]; then
 	echo "Removing Input log files !!!"
-	rm "$LOG_FILES"
+	rm $LOG_FILES
 fi

-- 
To view, visit https://gerrit.osmocom.org/7408
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I74e1f00c5e2b41668ebf2060f547fcc01212956d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>



More information about the gerrit-log mailing list