From bded578f92ef6aac2e6f6813cb7a084a9dfe79a6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 23 May 2023 15:05:10 +0200 Subject: make tree-substitution more specific --- lib/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/common-functions b/lib/common-functions index fde6c91..b6b9095 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -458,7 +458,7 @@ extract_source_directory() { if [ -n "${revision}" ] \ && [ "${revision}" != '0000000000000000000000000000000000000000' ]; then local pkgbase_translated - for substitution in '' 's@+@plus@g' 's@+@-@g' 's@tree@unix-tree@'; do + for substitution in '' 's@+@plus@g' 's@+@-@g' 's@^tree$@unix-tree@'; do pkgbase_translated=$( printf '%s\n' "${pkgbase}" \ | sed "${substitution}" -- cgit v1.2.3-54-g00ecf