diff options
author | Peter Palfrader <peter@palfrader.org> | 2012-04-04 10:19:55 +0000 |
---|---|---|
committer | weasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede> | 2012-04-04 10:19:55 +0000 |
commit | 724b8f246f589fc27ada882f903f4242ada21e7a (patch) | |
tree | 84c8e04b58b4b752c632cf2e5e63d0454c40d8ef | |
parent | 22aaa1f635663753b11ed78b78d3a2230f1764fa (diff) |
Handle gpg signed dsc files
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@514 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-x | sbuild-stuff | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/sbuild-stuff b/sbuild-stuff index 8ffbd93..af08124 100755 --- a/sbuild-stuff +++ b/sbuild-stuff @@ -20,15 +20,6 @@ if ! which changestool > /dev/null; then exit 1 fi -gpgcat() { - local f="$1" - if egrep -q "^-----BEGIN PGP SIGNED MESSAGE-----" "$f"; then - gpg < "$f" - else - cat "$f" - fi -} - get_metadata() { local dsc="$1"; shift @@ -64,7 +55,7 @@ fi metadata="$(get_metadata "$DSC")" read dscdist debian_version <<< "$metadata" -sourcepkg="$(gpgcat "$DSC" | grep-dctrl -n -s Source '')" +sourcepkg="$(grep-dctrl -n -s Source '' "$DSC")" if [ -z "${ARCH:-}" ]; then if [ "`uname -m`" = "x86_64" ]; then |