Bug#473459: Diff to remove unused function
Here's a patch to enhance patch #18 to not just remove the call to
getAbsolutePath but also its definition thereby removing the bashism.
Michael
--
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go VfL Borussia! Go SF 49ers! Use Debian GNU/Linux! Use PostgreSQL!
--- debian/patches/018-juic-uixsldir.diff.orig 2008-04-21 13:47:39.000000000 +0200
+++ debian/patches/018-juic-uixsldir.diff 2008-04-21 13:49:52.000000000 +0200
@@ -1,6 +1,20 @@
--- kdebindings/qtjava/designer/juic/bin/juic
+++ kdebindings/qtjava/designer/juic/bin/juic
-@@ -43,8 +43,7 @@
+@@ -14,13 +14,6 @@
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ #
+
+-getAbsolutePath() {
+- ls=$(ls -l $1)
+- pushd `dirname ${ls##* }` >/dev/null
+- pwd -P
+- popd >/dev/null
+-}
+-
+ usage() {
+ juic=$(basename $0)
+ cat <<EOT
+@@ -43,8 +36,7 @@
# common/
# java
Reply to: