Skip to content

Commit 17bebb5

Browse files
committed
git: fix missing quote
1 parent ccb5cff commit 17bebb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/git/manifests/clone.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
if $update {
5151
exec { "git_checkout_${title}":
5252
cwd => $path,
53-
unless => "test \"$(git describe --exact-match --tags) = \"${branch}\"",
53+
unless => "test \"$(git describe --exact-match --tags)\" = \"${branch}\"",
5454
# This will delete
5555
command => "/usr/bin/git fetch --tags --prune --prune-tags \"${remote}\" && /usr/bin/git checkout --force --quiet \"${branch}\" && /usr/bin/git clean -dfx",
5656
logoutput => true,

0 commit comments

Comments
 (0)