remote_run: remove unneeded ssh -n

This commit is contained in:
Sebastien Bourdeauducq 2020-04-11 21:12:41 +08:00
parent d193419a76
commit 64ac021a36

View File

@ -10,4 +10,4 @@ TARGET_FOLDER=/tmp/zynq-\$USER
ssh $TARGET_HOST "mkdir -p $TARGET_FOLDER" ssh $TARGET_HOST "mkdir -p $TARGET_FOLDER"
rsync openocd/* $TARGET_HOST:$TARGET_FOLDER rsync openocd/* $TARGET_HOST:$TARGET_FOLDER
rsync target/armv7-none-eabihf/release/runtime $TARGET_HOST:$TARGET_FOLDER rsync target/armv7-none-eabihf/release/runtime $TARGET_HOST:$TARGET_FOLDER
ssh -n $TARGET_HOST "cd $TARGET_FOLDER; openocd -f zc706.cfg -c 'load_image runtime; resume 0; exit'" ssh $TARGET_HOST "cd $TARGET_FOLDER; openocd -f zc706.cfg -c 'load_image runtime; resume 0; exit'"