mirror of
https://github.com/romanz/amodem.git
synced 2026-04-01 00:36:50 +08:00
test.sh: default directory should be $PWD
This commit is contained in:
@@ -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 "$*"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user