summaryrefslogtreecommitdiff
path: root/resources/scripts/build/command/options
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-08-27 17:19:36 +0100
committerLeah Rowe <leah@libreboot.org>2023-08-27 17:19:36 +0100
commit355eb765ff47b0855a6f5655312608d3264e70bf (patch)
tree922e7e432c4c57182d640f6f889292d6805c1fb4 /resources/scripts/build/command/options
parenteed34d3e8b0369270fd000c7ecafccdd93f4887e (diff)
move resources/scripts/ to script/
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'resources/scripts/build/command/options')
-rwxr-xr-xresources/scripts/build/command/options31
1 files changed, 0 insertions, 31 deletions
diff --git a/resources/scripts/build/command/options b/resources/scripts/build/command/options
deleted file mode 100755
index 84a9a3fb..00000000
--- a/resources/scripts/build/command/options
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/env sh
-
-# Copyright (c) 2023 Leah Rowe <info@minifree.org>
-# SPDX-License-Identifier: MIT
-
-. "include/err.sh"
-
-items=1
-
-main()
-{
- [ $# -gt 0 ] || \
- err "No argument given"
- listitems "${1}" || err "No items present under: ${1}"
-}
-
-listitems()
-{
- [ -d "${1}" ] || \
- err "Directory not does exist: ${1}"
- for x in "${1}/"*; do
- # -e used because this is for files *or* directories
- [ -e "${x}" ] || continue
- [ "${x##*/}" = "build.list" ] && continue
- printf "%s\n" "${x##*/}"
- items=0
- done
- return ${items}
-}
-
-main $@