mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-05 20:50:06 +00:00
13 lines
218 B
Bash
Executable File
13 lines
218 B
Bash
Executable File
#!/bin/sh
|
|
|
|
revision() {
|
|
echo `git log | head -1 | cut -d " " -f 2`
|
|
}
|
|
|
|
cd `dirname $PWD/$0` ; cd ..
|
|
. ./farm/CONFIG
|
|
[ ! -f farm/last-revision ] && exit 1
|
|
now=`revision`
|
|
old=`cat farm/last-revision`
|
|
[ "$now" = "$old" ]
|