[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#773253: jenkins: please add script to detect dpkg trigger cycles



Hi,

Quoting Holger Levsen (2014-12-26 18:50:38)
> merged and deployed, thanks!

sorry, in contrast to what I thought I did, I must've not tested the final
patch I sent you.

Please apply the attached and try again.

Thanks!

cheers, josch
From 84fc2bef51b5c2d1400dc7dd4adc8fd6aac9bd8a Mon Sep 17 00:00:00 2001
From: josch <j.schauer@email.de>
Date: Fri, 26 Dec 2014 20:59:00 +0100
Subject: [PATCH] bin/find_dpkg_trigger_cycles.sh: make temporary directory,
 not file

---
 bin/find_dpkg_trigger_cycles.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh
index 9019ff3..a232f19 100755
--- a/bin/find_dpkg_trigger_cycles.sh
+++ b/bin/find_dpkg_trigger_cycles.sh
@@ -155,7 +155,7 @@ curl "http://binarycontrol.debian.net/?q=&path=%2Ftriggers%24&format=pkglist"; \
 	| sort \
 	| while read pkg url; do
 	echo "working on $pkg..." >&2
-	tmpdir=`mktemp`
+	tmpdir=`mktemp -d`
 	# FIXME: please revert 9280f1c87 and following as soon as Jenkins run Jessie
 	# this is about the next line:
 	curl --retry 2 --location --silent "$url" \
-- 
2.0.1


Reply to: