]> jfr.im git - solanum.git/blobdiff - scripts/application.sh
extensions/helpops: implement DEHELPER command
[solanum.git] / scripts / application.sh
index f3da0b7dd9add65534273fe608ff0aea88eaa1de..ff82db9ec4a889aedd3fa59cd4f1ed617af41f43 100755 (executable)
@@ -25,8 +25,8 @@ if [ "x$TIP" = "x" ]; then
 fi
 
 # Charybdis wants the hg tip to be in include/serno.h, in its own format.
-MYTIP=`hg parents --template '#date|shortdate#_#node|short#' 2>/dev/null | sed -e s/-//g -e s/_/-/`
-echo "[atheme-services] Generating include/serno.h for tip $MYTIP."
+MYTIP=`git log -1 --date=short --pretty=format:%cd_%h 2>/dev/null | sed -e s/-//g -e s/_/-/`
+echo "[charybdis] Generating include/serno.h for tip $MYTIP."
 cat << _EOF_ > include/serno.h
 /* Generated automatically by makepackage. Any changes made here will be lost. */
 #define SERNO "$MYTIP"