commit 2017d83

chld  ·  2025-12-22 17:46:14 +0000 UTC
parent 7fad250
setup-userland + util/lib.sh
2 files changed,  +2, -2
+1, -1
1@@ -40,4 +40,4 @@ wget \
2 	-O $m/bin/toybox
3 
4 chmod 755 $m/bin/toybox # ensure toybox is a executable
5-_swt
6+_swt toybox
+1, -1
1@@ -9,6 +9,6 @@ _inc(){
2 	# '
3 }
4 _swt(){
5-	ln -sf $(which $1) $(which $2)
6+	ln -sf $(_inc 'command -v $1') $(_inc 'command -v $2')
7 	# usage: _swt toybox ln
8 }