[XMonad] Fix up build script
This commit is contained in:
parent
c5c0b8ad70
commit
ffc19bac6b
@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
BIN=$1
|
BIN=$1
|
||||||
[[ -n $BIN ]] || BIN=xmonad
|
[[ -n "$BIN" ]] || BIN=xmonad
|
||||||
|
|
||||||
stack install --local-bin-path $PWD
|
stack install --local-bin-path "$PWD"
|
||||||
date >> $PWD/last_built
|
date >> "$PWD/last_built"
|
||||||
|
|
||||||
[[ -f $BIN ]] || ln -s xmonad $BIN
|
[[ -f "$BIN" ]] || ln -s xmonad "$BIN"
|
||||||
|
Loading…
Reference in New Issue
Block a user