diff options
-rwxr-xr-x | sbuild-stuff | 2 |
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 |