This commit is contained in:
ruoyunbai
2021-09-29 21:06:16 +08:00
parent b200bb2f20
commit 2bb9621e30
2960 changed files with 642536 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/sh
if [ ! -s "${PWD}/configure.ac" -o ! -d "${PWD}/buildutils" ] || \
! grep -q -E 'AC_INIT[[:blank:]]*\([[:blank:]]*\[torque\]' \
"${PWD}/configure.ac"
then
echo "It appears that the present working directory" >&2
echo " '${PWD}' doesn't describe the root source" >&2
echo " path." >&2
echo " This script must be run from the root souce path." >&2
exit 1
fi
release=`git log --pretty=format:%ct_%h -1`
echo "${release}"