tags 478624 + patch
thanks

Patch attached.

> The bashism is noly in the get-orig-source target and will not affect a 
> normal build.

Indeed, but get-orig-source targets are meant to be useful for everyone, not
just the maintainer. :) (I do agree with the change in severity however.)


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20
diff -urNad sam2p-0.45-3.orig/debian/rules sam2p-0.45-3/debian/rules
--- sam2p-0.45-3.orig/debian/rules      2008-05-04 00:56:17.000000000 +0100
+++ sam2p-0.45-3/debian/rules   2008-05-04 00:58:19.000000000 +0100
@@ -83,7 +83,8 @@
 get-orig-source:
        set -e;\
        TMPDIR=`mktemp -dt` ;\
-       pushd $$TMPDIR >/dev/null ;\
+       CURDIR=`pwd` ;\
+       cd $$TMPDIR ;\
        wget http://www.inf.bme.hu/%7Epts/sam2p-latest.tar.gz ;\
        mkdir new ;\
        cd new ;\
@@ -96,7 +97,7 @@
        mv $$DIR sam2p-$$VERSION.orig ;\
        tar -cvzf sam2p_$$VERSION.orig.tar.gz sam2p-$$VERSION.orig ;\
        rm -r ../sam2p-latest.tar.gz sam2p-$$VERSION.orig ;\
-       popd >/dev/null ;\
+       cd $$CURDIR ;\
        mv -i $$TMPDIR/new/sam2p_$$VERSION.orig.tar.gz . ;\
        rmdir $$TMPDIR/new ;\
        rmdir $$TMPDIR

Attachment: signature.asc
Description: PGP signature

Reply via email to