Skip to content

Commit 86bfa2b

Browse files
0-8-15mgorges
authored andcommitted
ANDROID: Compare string in sh with '=' not '==' (#252)
1 parent 9f2403b commit 86bfa2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/android/build-binary

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ for m in $modules; do
200200
for pubclass in $pubclasses; do
201201
pubclassfile="`basename $pubclass | sed 's/ANDROID_java_public_//'`.java"
202202
echo " $pubclassfile.."
203-
if [ `echo $pubclass | cut -d . -f 2` == "in" ]; then
203+
if [ "`echo $pubclass | cut -d . -f 2`" = "in" ]; then
204204
pubclassfile=`echo $pubclassfile | sed 's/.in//'`
205205
ac_output $pubclass $appdir/$pubclassfile
206206
else

0 commit comments

Comments
 (0)