Package: powder
Version: 111-1
Severity: normal
Tags: patch

Hello,

building powder in Ubuntu karmic failed as debian/rules tries to execute
a bash-script with sh which is dash on Ubuntu.
Here is the part from the build log:

,----
| sh -ex ./buildall.sh
| + [ -z -g -O2 ]
| + PREFIX_DOC=/usr/share/doc/powder
| + PREFIX_BIN=/opt/bin
| + function usage {
| ./buildall.sh: 1: function: not found
| make: *** [build-stamp] Error 127
`----

The easy fix is to use bash to execute this script. From a quick look at
the script it looks easy to make it a sh-script alternatively.

Regards,
Michael

diff -u powder-111/debian/rules powder-111/debian/rules
--- powder-111/debian/rules
+++ powder-111/debian/rules
@@ -6,7 +6,7 @@
 
 build-stamp:
        dh_testdir
-       sh -ex ./buildall.sh
+       bash -ex ./buildall.sh
        touch $@
 
 clean:



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to