Bug#453766: rhino: Bashism lead to FTBFS
Luca Falavigna
dktrkranz at ubuntu.com
Sat Dec 1 02:18:50 UTC 2007
Package: rhino
Version: 1.6.R7-1
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch
rhino has a bashism in debian/rules which causes FTBFS on system with /bin/sh linked to /bin/dash.
Even if Debian is not affected, it could be worth fixing it for compatibility purposes.
In Ubuntu, we've applied the attached patch to achieve the following:
* debian/rules: fix bashism which caused 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
-------------- next part --------------
diff -u rhino-1.6.R7/debian/rules rhino-1.6.R7/debian/rules
--- rhino-1.6.R7/debian/rules
+++ rhino-1.6.R7/debian/rules
@@ -32,7 +32,10 @@
# build.xml from attempting to download it.
configure/rhino::
mkdir -p toolsrc/org/mozilla/javascript/tools/debugger/downloaded
- cp debian/src_from_treetable_article_see_bug409629/{AbstractCellEditor.java,JTreeTable.java,TreeTableModel.java,TreeTableModelAdapter.java} toolsrc/org/mozilla/javascript/tools/debugger/downloaded/
+ cp debian/src_from_treetable_article_see_bug409629/AbstractCellEditor.java toolsrc/org/mozilla/javascript/tools/debugger/downloaded/
+ cp debian/src_from_treetable_article_see_bug409629/JTreeTable.java toolsrc/org/mozilla/javascript/tools/debugger/downloaded/
+ cp debian/src_from_treetable_article_see_bug409629/TreeTableModel.java toolsrc/org/mozilla/javascript/tools/debugger/downloaded/
+ cp debian/src_from_treetable_article_see_bug409629/TreeTableModelAdapter.java toolsrc/org/mozilla/javascript/tools/debugger/downloaded/
install/rhino::
mkdir -p $(JAVALIBDIR)
More information about the pkg-java-maintainers
mailing list