use cksum instead of md5sum, as that is available on FrickenBSD too.
authorRudolf Polzer <rpolzer@nb-04.(none)>
Mon, 29 Mar 2010 13:46:47 +0000 (15:46 +0200)
committerRudolf Polzer <rpolzer@nb-04.(none)>
Mon, 29 Mar 2010 13:46:47 +0000 (15:46 +0200)
all

diff --git a/all b/all
index 39acd61..9689ba6 100755 (executable)
--- a/all
+++ b/all
@@ -7,10 +7,10 @@ msg()
        echo "\e[1m$*\e[m"
 }
 
-self=`md5sum "$0"`
+self=`cksum "$0"`
 checkself()
 {
-       self_new=`md5sum "$0"`
+       self_new=`cksum "$0"`
        if [ x"$self" != x"$self_new" ]; then
                msg "./all has changed."
                if [ -z "$XONOTIC_FORBID_RERUN_ALL" ]; then