From 9e9cab0c3eebead55ad05ef90d133f0c2e3b1530 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Fri, 1 Mar 2024 03:10:21 +0100 Subject: [PATCH] fix lol --- ynh-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ynh-build b/ynh-build index 6f03813..198f3ee 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