mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 23:20:40 +00:00
Aim to fix the Termux build
This commit is contained in:
parent
760ba0b557
commit
b8bc7d700a
@ -1,10 +1,12 @@
|
||||
#!/bin/sh
|
||||
T=$TMPDIR/.cc.txt
|
||||
if [ -n "$1" ]; then
|
||||
echo 0 > /tmp/.cc.txt
|
||||
echo 0 > $T 2> /dev/null
|
||||
N=0
|
||||
else
|
||||
N=`cat /tmp/.cc.txt 2> /dev/null`
|
||||
N=`cat $T 2> /dev/null`
|
||||
fi
|
||||
N=$(($N+1))
|
||||
basename `pwd`
|
||||
echo $N | tee /tmp/.cc.txt
|
||||
echo $N | tee $T 2> /dev/null
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user