public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. d5d3748b0269ffa8162f99dac1ae53d72be62bda
@ 2022-03-30 15:53 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2022-03-30 15:53 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 1636 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  d5d3748b0269ffa8162f99dac1ae53d72be62bda (commit)
      from  21de246ef71f1858205157cdc7ffb380d98e35b4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d5d3748b0269ffa8162f99dac1ae53d72be62bda
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Wed Mar 30 15:50:55 2022 +0000

    backup: Move empty check to the correct place
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/backup/backup.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Difference in files:
diff --git a/config/backup/backup.pl b/config/backup/backup.pl
index 2e9c0c573..8ea399bb9 100644
--- a/config/backup/backup.pl
+++ b/config/backup/backup.pl
@@ -37,11 +37,11 @@ list_addons() {
 process_includes() {
 	local include
 	for include in $@; do
-		# Skip any empty line (which will include /)
-		[ -n "${include}" ] || continue
-
 		local file
 		while read -r file; do
+			# Skip any empty line (which will include /)
+			[ -n "${file}" ] || continue
+
 			for file in /${file}; do
 				if [ -e "${file}" ]; then
 					echo "${file}"


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-30 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-30 15:53 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. d5d3748b0269ffa8162f99dac1ae53d72be62bda Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox