aboutsummaryrefslogtreecommitdiff
path: root/java/netbeans3/files/patch-bin_runide.sh
blob: aa73ffb31cbff23ece0335d636a031711cedeb23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

$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