[MERGED] 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Wed Mar 21 10:24:51 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: log_merge.sh: Fix removal of log files
......................................................................


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(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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: merged
Gerrit-Change-Id: I74e1f00c5e2b41668ebf2060f547fcc01212956d
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list