From 3bc31374acdccc470ad7da1b62c2820eb79e163f Mon Sep 17 00:00:00 2001 From: topjohnwu Date: Mon, 20 Nov 2017 04:13:51 +0800 Subject: [PATCH] Fix issue of touch command on Android 5.0 --- scripts/update_binary.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_binary.sh b/scripts/update_binary.sh index 845159d1b..d9af09c46 100644 --- a/scripts/update_binary.sh +++ b/scripts/update_binary.sh @@ -11,7 +11,7 @@ INSTALLER=$TMPDIR/install; BBDIR=$TMPDIR/bin EXBIN=$BBDIR/b64xz; BBBIN=$BBDIR/busybox $INDEP || rm -rf $TMPDIR 2>/dev/null; mkdir -p $BBDIR 2>/dev/null -touch $EXBIN $BBBIN; chmod 755 $EXBIN $BBBIN +touch $EXBIN; touch $BBBIN; chmod 755 $EXBIN $BBBIN echo -ne $EX_ARM > $EXBIN if $EXBIN --test 2>/dev/null; then echo $BB_ARM | $EXBIN > $BBBIN