This commit is contained in:
Nathan Dwarshuis 2021-03-13 18:19:17 -05:00
parent fa43a8d4f9
commit 25813ff311
2 changed files with 3 additions and 2 deletions

View File

@ -77,7 +77,7 @@ run_yay() {
## AUR pkgs needed for spotify
spotify_pkgs=(gconf)
sudo -u nobody HOME="$yaytmp" MAKEFLAGS="-j$(nproc)" \
sudo -u nobody HOME="$yaytmp" MAKEFLAGS="-j$(nproc) \
yay --noconfirm --removemake -S \
"${dunst_pkgs[@]}" \
"${emacs_pkgs[@]}" \

View File

@ -16,7 +16,8 @@ clone_maybe () {
}
run_stack_in_dir () {
local cur="pwd$"
local cur
cur="$(pwd)"
cd "$1" || return 1
stack install
cd "$cur" || return 1