summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2012-04-04 10:19:55 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2012-04-04 10:19:55 +0000
commit724b8f246f589fc27ada882f903f4242ada21e7a (patch)
tree84c8e04b58b4b752c632cf2e5e63d0454c40d8ef
parent22aaa1f635663753b11ed78b78d3a2230f1764fa (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-xsbuild-stuff11
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