summaryrefslogtreecommitdiff
path: root/src/lib/common.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2024-04-21 10:18:55 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2024-04-21 10:18:55 +0200
commit2dc7a161a09518edae9e04a77fca569460d6a560 (patch)
tree5c893311826fc1ae7090352fb2f17a2d3d3a560e /src/lib/common.sh
parenta1ca197bc99c2d5c2977630cc4c9dbfd5461d9c1 (diff)
parent05bea3e922aa7aec5cba3242d3f34b5c10fad24e (diff)
downloaddevtools-master.tar.xz
merged with upstreamHEADmaster
Diffstat (limited to 'src/lib/common.sh')
-rw-r--r--src/lib/common.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/common.sh b/src/lib/common.sh
index ff767c6..00ece97 100644
--- a/src/lib/common.sh
+++ b/src/lib/common.sh
@@ -342,3 +342,9 @@ is_debug_package() {
pkgdesc="$(getpkgdesc "${pkgfile}")"
[[ ${pkgdesc} == "Detached debugging symbols for "* && ${pkgbase}-debug = "${pkgname}" ]]
}
+
+join_by() {
+ local IFS="$1"
+ shift
+ echo "$*"
+}