Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/common-functions
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-23 15:05:10 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-23 15:05:10 +0200
commitbded578f92ef6aac2e6f6813cb7a084a9dfe79a6 (patch)
tree4da1a16641f149fa042f4efd43059284dcba8bb2 /lib/common-functions
parent19c93059d903785fdde32ab544dab2921e370f79 (diff)
make tree-substitution more specific
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-xlib/common-functions2
1 files changed, 1 insertions, 1 deletions
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}"