BizHawk/Build/standin.sh

3 lines
192 B
Bash
Raw Normal View History

#!/bin/sh
2020-08-01 07:44:06 +00:00
sed -e "s;\\\$WCREV\\\$;$(git rev-list HEAD --count);" -e "s;\\\$WCBRANCH\\\$;$(git rev-parse --abbrev-ref HEAD);" -e "s;\\\$WCSHORTHASH\\\$;$(git log -1 --format="%h");" "$1" >"$2"