Commit 80a6abce authored by Jondy Zhao's avatar Jondy Zhao

Transfer window path to posix path

parent 23a7d2a2
......@@ -45,6 +45,7 @@ elif [[ ! -f $client_certificate_file ]] ; then
[[ ! -f "$certificate_file" ]] && \
show_error_exit "Certificate file $certificate_file doesn't exists."
echo "Copy certificate from $certificate_file to $client_certificate_file"
certificate_file=$(cygpath -u $certificate_file)
cp $certificate_file $client_certificate_file
fi
......@@ -56,6 +57,7 @@ elif [[ ! -f $client_key_file ]] ; then
[[ ! -f "$key_file" ]] && \
show_error_exit "Key file $key_file doesn't exists."
echo "Copy key from $key_file to $client_key_file"
key_file=$(cygpath -u $key_file)
cp $key_file $client_key_file
fi
......
......@@ -148,6 +148,7 @@ elif [[ ! -f $node_certificate_file ]] ; then
[[ ! -f "$certificate_file" ]] && \
show_error_exit "Certificate file $certificate_file doesn't exists."
echo "Copy certificate from $certificate_file to $node_certificate_file"
certificate_file=$(cygpath -u $certificate_file)
cp $certificate_file $node_certificate_file
fi
......@@ -159,6 +160,7 @@ elif [[ ! -f $node_key_file ]] ; then
[[ ! -f "$key_file" ]] && \
show_error_exit "Key file $key_file doesn't exists."
echo "Copy key from $key_file to $node_key_file"
key_file=$(cygpath -u $key_file)
cp $key_file $node_key_file
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment