]> git.xonotic.org Git - xonotic/xonotic.git/commitdiff
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 39acd61092957efdc2eebf991bd7a35a5a9f7421..9689ba653b5df22af41becd0e0a08de6f94b9d43 100755 (executable)
--- a/all
+++ b/all
@@ -7,10 +7,10 @@ msg()
        echo "\e[1m$*\e[m"
 }
 
        echo "\e[1m$*\e[m"
 }
 
-self=`md5sum "$0"`
+self=`cksum "$0"`
 checkself()
 {
 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
        if [ x"$self" != x"$self_new" ]; then
                msg "./all has changed."
                if [ -z "$XONOTIC_FORBID_RERUN_ALL" ]; then