We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccb5cff commit 17bebb5Copy full SHA for 17bebb5
modules/git/manifests/clone.pp
@@ -50,7 +50,7 @@
50
if $update {
51
exec { "git_checkout_${title}":
52
cwd => $path,
53
- unless => "test \"$(git describe --exact-match --tags) = \"${branch}\"",
+ unless => "test \"$(git describe --exact-match --tags)\" = \"${branch}\"",
54
# This will delete
55
command => "/usr/bin/git fetch --tags --prune --prune-tags \"${remote}\" && /usr/bin/git checkout --force --quiet \"${branch}\" && /usr/bin/git clean -dfx",
56
logoutput => true,
0 commit comments