From bf67db821c7c54014945923604cd53afd9a709f0 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 24 Apr 2012 06:53:52 +0000 Subject: dcmd --orig does not return just the orig tarball on squeeze, it returns the name of all tarballs git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@522 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- sbuild-stuff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbuild-stuff') diff --git a/sbuild-stuff b/sbuild-stuff index af08124..de22aab 100755 --- a/sbuild-stuff +++ b/sbuild-stuff @@ -24,7 +24,7 @@ get_metadata() { local dsc="$1"; shift dsc="$(readlink -f "$dsc")" - local origtar="$(dcmd --orig $dsc)" + local origtar="$(dcmd --orig $dsc | grep orig.tar)" if ! [ -e "$origtar" ]; then echo >&2 "File $origtar not found" exit 1 -- cgit v1.2.3