usr

Modulate your userpace into POSIX-compliant shell scripts!
git clone git://clone.theohenson.com/usr.git
Log | Files | Refs | README

commit de2d0f4dbe9461452098e821044c193b4f49f96f
parent b9e93c2b525e149059fb2f67e2c69cbc1a720b9b
Author: Theo Henson <[email protected]>
Date:   Mon, 16 Nov 2020 15:30:00 -0500

Fix module

Diffstat:
Mmodules/theo_suk_arch.mod.sh | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/theo_suk_arch.mod.sh b/modules/theo_suk_arch.mod.sh @@ -7,10 +7,10 @@ theo_suk_arch_add() { mkdir -p "$HOME"/src/suk ln -sf "$USR_DIR"/home/src/suk "$HOME"/src/suk - printf "theo_suk_arch: compiling software and linking binaries\n" "$HOME" + printf "theo_suk_arch: compiling software and linking binaries\n" mkdir -p "$HOME"/.local/bin - for PROG in "dwm st dwmblocks" ; do - cd "$USR_DIR/home/src/suk/$PROG" + for PROG in dwm st dwmblocks ; do + cd "$USR_DIR/home/src/suk/$PROG" || exit make chmod +x "$PROG" ln -sf "$USR_DIR/home/src/suk/$PROG/$PROG" "$HOME/.local/bin/$PROG"