From 2f00bfc04318f92205536c2188f818ff3384832e Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 1 Mar 2024 03:14:42 +0100 Subject: [PATCH] fix --- ynh-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ynh-build b/ynh-build index b4e8197..9602280 100755 --- a/ynh-build +++ b/ynh-build @@ -83,7 +83,7 @@ function checkout_tag() function build() { # check if the build branch type is coherent between what the user has specified and what is entered in the changelog - if ! [[ $(head -n 1 debian/changelog == *"$BRANCH"*) ]]; then + if ! [[ "$(head -n 1 debian/changelog)" == *"$BRANCH"* ]]; then echo "The specified branch type is not coherent with the changelog one!" exit 1 fi