]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - scripts/application.sh
Fix bandb's interaction with --enable-fhs-paths by storing ban.db in the correct...
[irc/rqf/shadowircd.git] / scripts / application.sh
index 203bb6406aabdb46a00831891585dbcc2b331f9c..d97fef17043ba2c8e1a13e7dc40e561ca019037d 100755 (executable)
@@ -25,7 +25,7 @@ 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/_/-/`
+MYTIP=`hg parents --template '{date|shortdate}_{node|short}' 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. */