Allows passing YADM_WORK and YADM_DIR variables from the environment.

pull/4/head
Ryan McGuire 8 years ago
parent 4948f1b137
commit a3d5192f98

@ -17,8 +17,8 @@
VERSION=1.03
YADM_WORK="$HOME"
YADM_DIR="$HOME/.yadm"
[ -z "$YADM_WORK" ] && YADM_WORK="$HOME"
[ -z "$YADM_DIR" ] && YADM_DIR="$HOME/.yadm"
YADM_REPO="$YADM_DIR/repo.git"
YADM_CONFIG="$YADM_DIR/config"

Loading…
Cancel
Save