mirror of
https://github.com/radareorg/radare2.git
synced 2024-10-07 02:23:58 +00:00
11 lines
156 B
Bash
11 lines
156 B
Bash
|
#!/bin/sh
|
||
|
if [ -n "$1" ]; then
|
||
|
echo 0 > /tmp/.cc.txt
|
||
|
N=0
|
||
|
else
|
||
|
N=`cat /tmp/.cc.txt 2> /dev/null`
|
||
|
fi
|
||
|
N=$(($N+1))
|
||
|
basename `pwd`
|
||
|
echo $N | tee /tmp/.cc.txt
|