mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 23:39:33 +02:00
lib.sh: remove mk()
i don't need it. i can use fx_ instead, on functions that previously called mk(). Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-4
@@ -39,13 +39,11 @@ trees()
|
||||
fi
|
||||
|
||||
project="${OPTARG#src/}"
|
||||
project="${project#config/git/}"
|
||||
shift 2
|
||||
done
|
||||
[ -z "$_f" ] && err "missing flag ($flags)"
|
||||
if [ -z "$project" ]; then
|
||||
mk $_f $(ls -1 config/git)
|
||||
return 1
|
||||
fi
|
||||
[ -z "$project" ] && fx_ "x_ ./mk $_f" x_ ls -1 config/git && return 1
|
||||
|
||||
[ -f "config/git/$project/pkg.cfg" ] || \
|
||||
err "config/git/$project/pkg.cfg missing"
|
||||
|
||||
Reference in New Issue
Block a user