File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ which ccache &>/dev/null
31
31
if [ $? -eq 0 ]; then
32
32
export CC=" ccache gcc"
33
33
export CXX=" ccache g++"
34
+ export NDK_CCACHE=" ccache"
34
35
fi
35
36
36
37
# set -x
@@ -389,7 +390,7 @@ function run_get_packages() {
389
390
# if already decompress, forget it
390
391
cd $BUILD_PATH /$module
391
392
directory=$( get_directory $filename )
392
- if [ -d $directory ]; then
393
+ if [ -d " $directory " ]; then
393
394
continue
394
395
fi
395
396
@@ -412,8 +413,8 @@ function run_get_packages() {
412
413
fi
413
414
;;
414
415
* .zip )
415
- try unzip x $pfilename
416
- root_directory=$( basename $( try unzip -l $pfilename | sed -n 4p | awk ' {print $4}' ) )
416
+ try unzip $pfilename
417
+ root_directory=$( basename $( try unzip -l $pfilename | sed -n 5p | awk ' {print $4}' ) )
417
418
if [ " X$root_directory " != " X$directory " ]; then
418
419
mv $root_directory $directory
419
420
fi
You can’t perform that action at this time.
0 commit comments