aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib.sh
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-10-10 17:42:56 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-10-10 17:42:56 -0400
commit69809346b7c5c710eca080e5390244be53dc2732 (patch)
tree4fdb6a63437ddd9d27eef5ddfb2cb8c2613dcb89 /tools/lib.sh
parentInstall shadow-uidmap instead of shadow (diff)
downloadcli-69809346b7c5c710eca080e5390244be53dc2732.zip
Replace tools with scripts and use them in .build.yml
Diffstat (limited to 'tools/lib.sh')
-rw-r--r--tools/lib.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/lib.sh b/tools/lib.sh
deleted file mode 100644
index e2c2c78..0000000
--- a/tools/lib.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-
-# elementIn checks whether a element is in an array.
-#
-# Args:
-# $1: The element
-# $2: The array
-#
-# Returns:
-# 0 if the element is in the array; 1 otherwise.
-function elementIn() {
- local e match="$1"
- shift
- for e; do [[ "$e" == "$match" ]] && return 0; done
- return 1
-}