android: realdir doesn't accept nonexistant files on macOS
This commit is contained in:
parent
a92a801f08
commit
4c90ad3704
|
@ -4,7 +4,10 @@ JAVAC=$1
|
||||||
CLASSPATH=$2
|
CLASSPATH=$2
|
||||||
JAVA_PKG_PATH=$3
|
JAVA_PKG_PATH=$3
|
||||||
ZIP=$4
|
ZIP=$4
|
||||||
JARFILE=`realpath "$5"`
|
DIRNAME=`dirname "$5"`
|
||||||
|
REALDIR=`realpath "$DIRNAME"`
|
||||||
|
BASENAME=`basename "$5"`
|
||||||
|
JARFILE=$REALDIR/$BASENAME
|
||||||
shift 5
|
shift 5
|
||||||
|
|
||||||
D=`dirname "$JARFILE"`
|
D=`dirname "$JARFILE"`
|
||||||
|
|
Loading…
Reference in New Issue