1
0
Fork 0
mirror of synced 2024-12-22 06:31:07 -05:00

Allows passing YADM_WORK and YADM_DIR variables from the environment.

This commit is contained in:
Ryan McGuire 2016-03-18 23:57:13 -04:00
parent 4948f1b137
commit a3d5192f98

4
yadm
View file

@ -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"