From b95e32f56ef776d449bb932840725faedd0ee2bc Mon Sep 17 00:00:00 2001 From: Sylvain Date: Sun, 21 Jul 2024 10:36:09 +0200 Subject: [PATCH] Refractor --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 20edd0d..c504842 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -15,9 +15,9 @@ myynh_source_searxng () { commit_sha=$(ynh_read_manifest --manifest_key="resources.sources.main.url" | xargs basename --suffix=".tar.gz") # Download source - ynh_exec_as $app ynh_exec_fully_quiet git clone -n "$repo_fullpath" "$install_dir/searxng-src" + ynh_exec_fully_quiet git clone -n "$repo_fullpath" "$install_dir/searxng-src" pushd "$install_dir/searxng-src" - ynh_exec_as $app ynh_exec_fully_quiet git checkout "$commit_sha" + ynh_exec_fully_quiet git checkout "$commit_sha" popd }