Skip to content
Snippets Groups Projects
Commit d97673c1 authored by Smaine Kahlouch's avatar Smaine Kahlouch Committed by GitHub
Browse files

Merge pull request #423 from bogdando/fix_gitinfos

Fix gen-gitinfos.sh
parents 36b6ae9a f6107131
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ EOF
printf "unstaged changes=\"/etc/.git-ansible.diff\""
fi
if [ ${current_commit} == ${latest_tag_commit} ]; then
if [ "${current_commit}" = "${latest_tag_commit}" ]; then
printf "\ncurrent_commit_tag=\"${latest_tag}\""
else
printf "\nlast tag was "$(git describe --tags | awk -F- '{print $2}')" commits ago =\""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment