summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-09-23 19:48:30 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-09-23 19:48:30 +0000
commit26a93936133e0d703f821dc5d7072ec0784872e6 (patch)
tree60d9aeab74dcb2004841b97fda52826736ee6f8f /app-editors/jedit
parentMarked ~amd64. (diff)
downloadgentoo-2-26a93936133e0d703f821dc5d7072ec0784872e6.tar.gz
gentoo-2-26a93936133e0d703f821dc5d7072ec0784872e6.tar.bz2
gentoo-2-26a93936133e0d703f821dc5d7072ec0784872e6.zip
fix wrapper with spaces
(Portage version: 2.0.52-r1 all-the-cool-kids-are-doing-it)
Diffstat (limited to 'app-editors/jedit')
-rw-r--r--app-editors/jedit/jedit-4.2-r1.ebuild8
-rw-r--r--app-editors/jedit/jedit-4.2.ebuild8
2 files changed, 8 insertions, 8 deletions
diff --git a/app-editors/jedit/jedit-4.2-r1.ebuild b/app-editors/jedit/jedit-4.2-r1.ebuild
index e359d3c5a8fa..a3f105eca558 100644
--- a/app-editors/jedit/jedit-4.2-r1.ebuild
+++ b/app-editors/jedit/jedit-4.2-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.2-r1.ebuild,v 1.9 2005/08/10 17:14:05 metalgod Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.2-r1.ebuild,v 1.10 2005/09/23 19:48:30 axxo Exp $
inherit java-pkg eutils
-MY_PV="${PV//.}"
-MY_PV="${MY_PV//_}"
+MY_PV="${PV//./}"
+MY_PV="${MY_PV//_/}"
DESCRIPTION="Programmer's editor written in Java"
HOMEPAGE="http://www.jedit.org"
@@ -59,7 +59,7 @@ src_install () {
keepdir /usr/share/jedit/jars
echo "#!/bin/bash" > ${PN}
- echo "java -jar /usr/share/jedit/jedit.jar \$@" >> ${PN}
+ echo "java -jar /usr/share/jedit/jedit.jar \"\${@}\"" >> ${PN}
dobin ${PN}
insinto /usr/share/icons/hicolor/128x128/apps
diff --git a/app-editors/jedit/jedit-4.2.ebuild b/app-editors/jedit/jedit-4.2.ebuild
index 1c9edf46c5ea..e26a8f42ea73 100644
--- a/app-editors/jedit/jedit-4.2.ebuild
+++ b/app-editors/jedit/jedit-4.2.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.2.ebuild,v 1.12 2005/07/11 11:23:27 axxo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.2.ebuild,v 1.13 2005/09/23 19:48:30 axxo Exp $
inherit java-utils
-MY_PV="${PV//.}"
-MY_PV="${MY_PV//_}"
+MY_PV="${PV//./}"
+MY_PV="${MY_PV//_/}"
DESCRIPTION="Programmer's editor written in Java"
HOMEPAGE="http://www.jedit.org"
@@ -69,7 +69,7 @@ src_install () {
cat >${D}/usr/share/jedit/jedit.sh <<-EOF
#!/bin/bash
- java -jar /usr/share/jedit/jedit.jar \$@
+ java -jar /usr/share/jedit/jedit.jar \"\$@\"
EOF
chmod 755 ${D}/usr/share/jedit/jedit.sh