diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-06-07 19:55:11 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2003-06-07 19:55:11 +0000 |
commit | c0fded61b439cc0a5df3785ef6d01fb087f30b11 (patch) | |
tree | 8c229a1c9c3d3649abe094a287caea182a20122a /java/netbeans4/files/patch-bin_runide.sh | |
parent | Update to pgpdump 0.19 (diff) |
The NetBeans startup script should be patched on -CURRENT only.
The -CURRENT /bin/expr command may get confused when matching regexps
against strings that begin with "-", because they are interpreted as
command flags.
Using "--" as the first flag solves this, but it will in turn confuse
-STABLE expr (syntax error), so it looks like there's no common way to do
it (that I can think of).
Notes
Notes:
svn path=/head/; revision=82466
Diffstat (limited to 'java/netbeans4/files/patch-bin_runide.sh')
-rw-r--r-- | java/netbeans4/files/patch-bin_runide.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/java/netbeans4/files/patch-bin_runide.sh b/java/netbeans4/files/patch-bin_runide.sh deleted file mode 100644 index aa73ffb31cbf..000000000000 --- a/java/netbeans4/files/patch-bin_runide.sh +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- bin/runide.sh.orig Mon Jun 2 11:23:48 2003 -+++ bin/runide.sh Mon Jun 2 11:26:50 2003 -@@ -157,7 +157,7 @@ - - -hotspot|-client|-server|-classic|-native|-green) thread_flag=$1;; - -J-hotspot|-J-client|-J-server|-J-classic|-J-native|-J-green) thread_flag=`expr $1 : '-J\(.*\)'`;; -- -J*) jopt=`expr "$1" : '-J\(.*\)'`; jargs="$jargs \"$jopt\"";; -+ -J*) jopt=`expr -- "$1" : '-J\(.*\)'`; jargs="$jargs \"$jopt\"";; - *) args="$args \"$1\"" ;; - esac - shift |