mirror of
https://github.com/TheLocehiliosan/yadm
synced 2025-06-13 13:03:58 +00:00
Allows passing YADM_WORK and YADM_DIR variables from the environment.
This commit is contained in:
parent
4948f1b137
commit
a3d5192f98
4
yadm
4
yadm
@ -17,8 +17,8 @@
|
|||||||
|
|
||||||
VERSION=1.03
|
VERSION=1.03
|
||||||
|
|
||||||
YADM_WORK="$HOME"
|
[ -z "$YADM_WORK" ] && YADM_WORK="$HOME"
|
||||||
YADM_DIR="$HOME/.yadm"
|
[ -z "$YADM_DIR" ] && YADM_DIR="$HOME/.yadm"
|
||||||
|
|
||||||
YADM_REPO="$YADM_DIR/repo.git"
|
YADM_REPO="$YADM_DIR/repo.git"
|
||||||
YADM_CONFIG="$YADM_DIR/config"
|
YADM_CONFIG="$YADM_DIR/config"
|
||||||
|
Loading…
Reference in New Issue
Block a user