Skip to content
Snippets Groups Projects
Commit 8b26a4db authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

fixed version

made version in "plumed config" consistent with the change
done in 2e4cee92
parent 8486b913
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,8 @@ echo "version long $( ...@@ -23,9 +23,8 @@ echo "version long $(
echo "version git $( echo "version git $(
if test -d ../../.git && hash git 2> /dev/null ; then if test -d ../../.git && hash git 2> /dev/null ; then
# describe --tags gives a nice name
# in case it does not work, fallback to normal hash (12 char long) # in case it does not work, fallback to normal hash (12 char long)
git describe --long --tags --dirty --always || git rev-parse --short=12 HEAD git describe --long --dirty --always || git rev-parse --short=12 HEAD
else else
echo "Unknown" echo "Unknown"
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment