Package: radiance
Version: 3R8+20071122.dfsg-1
Severity: minor
Tags: patch
User: [EMAIL PROTECTED]
Usertags: origin-ubuntu hardy ubuntu-patch

pushd/popd commands are available only on bash and this leads to FTBFS on 
systems where /bin/sh is linked to /bin/dash.
Even if Debian is not affected, it could be worth fix it for compatibility 
purposes.

In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/rules: do not use pushd/popd, not supported by dash. Fix FTBFS

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 
'gutsy-backports'), (500, 'gutsy')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-14-generic (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u radiance-3R8+20071122.dfsg/debian/rules 
radiance-3R8+20071122.dfsg/debian/rules
--- radiance-3R8+20071122.dfsg/debian/rules
+++ radiance-3R8+20071122.dfsg/debian/rules
@@ -44,9 +44,9 @@
        [ "$$devdir" ]  || devdir="$$destdir$(DEVDIR)" ;\
        [ "$$srcdirs" ] || srcdirs="$(SRCDIRS)" ;\
        for sdir in $$srcdirs; do \
-         pushd src/$$sdir ;\
+         cd src/$$sdir ;\
          make -f Rmakefile $$rmakeopts $(MAKEOVERRIDES);\
-         popd ;\
+         cd $(CURDIR) ;\
        done
 
 debian/%.1: debian/%.sgml

Reply via email to