Tried to fix the Hashbang and Scratchbox issue by putting Perl into the Scratchbox...
authorTobias Mueller <tobiasmue@gnome.org>
Sun, 16 Jan 2011 22:26:41 +0000 (23:26 +0100)
committerTobias Mueller <tobiasmue@gnome.org>
Thu, 27 Jan 2011 14:37:55 +0000 (15:37 +0100)
as per http://wiki.maemo.org/Packaging
It seems to work locally but let's check whether the builder gets it right, too.

Makefile
debian/changelog
debian/rules

index 2cdb1aa..8bdc5ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 #!/usr/bin/make -f
-PATH := /usr/bin:$(PATH)
-SBOX_REDIRECT_IGNORE := $(SBOX_REDIRECT_IGNORE):/usr/bin/python
+PATH:=/usr/bin/dh7:/usr/bin:$(PATH)
+SBOX_REDIRECT_IGNORE := $(SBOX_REDIRECT_IGNORE):/usr/bin/python:/usr/bin/perl
 export PATH SBOX_REDIRECT_IGNORE
 
 all:
index 9003489..e7b3083 100644 (file)
@@ -1,3 +1,11 @@
+pwnitter (0.0.3-2) freemantle; urgency=low
+
+  * Hm. Hashbang issue is fixed locally but apparently the builder
+    still messes it up. Now trying to fix it with perl being in
+    scratchbox's non-redirect list.
+
+ -- Tobias Mueller <tobiasmue@gnome.org>  Mon, 17 Jan 2011 03:45:17 +0530
+
 pwnitter (0.0.3-1) freemantle; urgency=low
 
   * Be able to play PCap files
index 2403f35..5415cb2 100644 (file)
@@ -1,5 +1,6 @@
 #!/usr/bin/make -f
-SBOX_REDIRECT_IGNORE := $(SBOX_REDIRECT_IGNORE):/usr/bin/python
+PATH:=/usr/bin/dh7:/usr/bin:$(PATH)
+SBOX_REDIRECT_IGNORE := $(SBOX_REDIRECT_IGNORE):/usr/bin/python:/usr/bin/perl
 export PATH SBOX_REDIRECT_IGNORE
 
 %: