summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2012-04-24 06:53:52 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2012-04-24 06:53:52 +0000
commitbf67db821c7c54014945923604cd53afd9a709f0 (patch)
tree2e39593f6122972ba2117d1dea2d3da4cc823908
parentedf3707f2f972b617ae90dab9742700c5c1de162 (diff)
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
-rwxr-xr-xsbuild-stuff2
1 files changed, 1 insertions, 1 deletions
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