[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] fixup 88ff3aaf: reproducible Debian: add support for common-$DPKG_ARCH files

Holger Levsen gitlab at salsa.debian.org
Sat Apr 21 02:47:48 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
93a095da by Holger Levsen at 2018-04-20T22:47:34-03:00
fixup 88ff3aaf: reproducible Debian: add support for common-$DPKG_ARCH files

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- update_jdn.sh


Changes:

=====================================
update_jdn.sh
=====================================
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -555,7 +555,11 @@ for h in common common-amd64 common-i386 common-arm64 common-armhf "$HOSTNAME" ;
 	fi
 	for d in etc usr ; do
 		if [ -d "hosts/$h/$d" ]; then
-			sudo cp --preserve=mode,timestamps -r "hosts/$h/$d/"* "/$d"
+			for sd in * ; do
+				if [ -d "hosts/$h/$d/$sd" ]; then
+					sudo cp --preserve=mode,timestamps -r "hosts/$h/$d/$sd" "/$d"
+				fi
+			done
 		fi
 	done
 done



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/93a095da4723ed0bad2f60d208d94ba079ce375b

---
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/commit/93a095da4723ed0bad2f60d208d94ba079ce375b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20180421/70657546/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list