Commit 6fe6ca3e authored by captainwong's avatar captainwong

fix mac node

parent 3fe505ed
...@@ -6,7 +6,7 @@ CURRENT_DIR=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P ) ...@@ -6,7 +6,7 @@ CURRENT_DIR=$( cd "$(dirname "${BASH_SOURCE[0]}")" ; pwd -P )
cd $CURRENT_DIR cd $CURRENT_DIR
ssh -t ${MACOS_TARGET} <<EOF ssh -t ${MACOS_TARGET} <<EOF
cd ${LINUX_PROJECT_PATH} cd ${MACOS_PROJECT_PATH}
git reset --hard HEAD git reset --hard HEAD
git pull git pull
git checkout ${PROJECT_BRANCH} git checkout ${PROJECT_BRANCH}
...@@ -18,5 +18,5 @@ ssh -t ${MACOS_TARGET} <<EOF ...@@ -18,5 +18,5 @@ ssh -t ${MACOS_TARGET} <<EOF
./linux_mac_node.sh mac_node ./linux_mac_node.sh mac_node
EOF EOF
scp ${MACOS_TARGET}:${LINUX_PROJECT_PATH}/tools/mac_node.zip ./dist/mac_node.zip scp ${MACOS_TARGET}:${MACOS_PROJECT_PATH}/tools/mac_node.zip ./dist/mac_node.zip
ssh -t ${MACOS_TARGET} "rm -f ${LINUX_PROJECT_PATH}/tools/mac_node.zip" ssh -t ${MACOS_TARGET} "rm -f ${MACOS_PROJECT_PATH}/tools/mac_node.zip"
\ No newline at end of file \ No newline at end of file
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