diff options
author | Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> | 2017-01-31 13:04:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-01-31 13:04:28 +0000 |
commit | 0b33edd785120ca8d5947d4678ff4ebcb048f7b1 (patch) | |
tree | 2802dcd6d2a7469d35658a6e1e6d4c66f460aa3a /tools | |
parent | 0e00742f46e5da31dbb62b29b3a9a460197e5e1f (diff) | |
parent | 6a84ad07b60933a02066bde3115c53e592309bef (diff) |
Merge "Extract filename from the path properly"
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/keystone/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/keystone/run.sh b/tools/keystone/run.sh index 433438c..6ece634 100755 --- a/tools/keystone/run.sh +++ b/tools/keystone/run.sh @@ -80,7 +80,7 @@ function run_on_target() { if [ -n "${data}" ]; then # Copy any accompanying data along with the script sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \ - "ssh $ssh_options $1 \"cd /root/ && cat > ${data}\"" < ${data} &> /dev/null + "ssh $ssh_options $1 \"cd /root/ && cat > $(basename ${data})\"" < ${data} &> /dev/null fi # Set the rights and execute sshpass -p r00tme ssh 2>/dev/null $ssh_options root@${installer_ip} \ |