From 3fbd2a8952251433f6685e5bf5bc65dd582233b0 Mon Sep 17 00:00:00 2001 From: Dane Powell Date: Wed, 6 Mar 2024 15:51:48 -0800 Subject: [PATCH] Quote bash vars --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index ba60ad15..3f5b12ca 100644 --- a/Makefile +++ b/Makefile @@ -42,15 +42,15 @@ packages: brew-packages cask-apps node-packages rust-packages link: stow-$(OS) for FILE in $$(\ls -A runcom); do if [ -f $(HOME)/$$FILE -a ! -h $(HOME)/$$FILE ]; then \ mv -v $(HOME)/$$FILE{,.bak}; fi; done - mkdir -p $(XDG_CONFIG_HOME) - stow -t $(HOME) runcom - stow -t $(XDG_CONFIG_HOME) config + mkdir -p "$(XDG_CONFIG_HOME)" + stow -t "$(HOME)" runcom + stow -t "$(XDG_CONFIG_HOME)" config mkdir -p $(HOME)/.local/runtime chmod 700 $(HOME)/.local/runtime unlink: stow-$(OS) - stow --delete -t $(HOME) runcom - stow --delete -t $(XDG_CONFIG_HOME) config + stow --delete -t "$(HOME)" runcom + stow --delete -t "$(XDG_CONFIG_HOME)" config for FILE in $$(\ls -A runcom); do if [ -f $(HOME)/$$FILE.bak ]; then \ mv -v $(HOME)/$$FILE.bak $(HOME)/$${FILE%%.bak}; fi; done