test.sh: default directory should be $PWD

This commit is contained in:
Roman Zeyde
2014-08-04 08:57:25 +03:00
parent fb329cf559
commit eb315ce622

View File

@@ -12,13 +12,13 @@ run() {
}
run_src() {
DIR=${SRC_DIR:-"~/Code/modem"}
DIR=${SRC_DIR:-"$PWD"}
HOST=${SRC_HOST:-localhost}
run "$*"
}
run_dst() {
DIR=${DST_DIR:-"~/Code/modem"}
DIR=${DST_DIR:-"$PWD"}
HOST=${DST_HOST:-localhost}
run "$*"
}