fix config_version script for 3.8 and below

This commit is contained in:
Nick Walker 2015-08-03 17:45:12 -07:00
parent 921c83736e
commit 5d0ae0c01f

View File

@ -3,5 +3,5 @@ if [ -e /opt/puppetlabs/server/pe_version ]
then
/opt/puppetlabs/puppet/bin/ruby $1/$2/scripts/config_version.rb $1 $2
else
/usr/bin/git --git-dir $codedir/environments/$environment/.git rev-parse HEAD
/usr/bin/git --git-dir $1/$2/.git rev-parse HEAD
fi