Skip to content
Snippets Groups Projects
Commit 7a6f053d authored by ribeaudc's avatar ribeaudc
Browse files

fix: - Run the 'sprint_install.sh' script from home directory.

SVN: 7909
parent 88e699dc
No related branches found
No related tags found
No related merge requests found
...@@ -41,7 +41,7 @@ scp download-server-*.zip $SPRINT_SERVER:. ...@@ -41,7 +41,7 @@ scp download-server-*.zip $SPRINT_SERVER:.
# If sprint install script is present and executable, run it! # If sprint install script is present and executable, run it!
if [ -x $SPRINT_INSTALL_SCRIPT ]; then if [ -x $SPRINT_INSTALL_SCRIPT ]; then
echo Installing server remotely... echo Installing server remotely...
cat $SPRINT_INSTALL_SCRIPT | ssh -T $SPRINT_SERVER "cat > /tmp/$SPRINT_INSTALL_SCRIPT ; chmod 755 /tmp/$SPRINT_INSTALL_SCRIPT ; /tmp/$SPRINT_INSTALL_SCRIPT $VER ; rm -f /tmp/$SPRINT_INSTALL_SCRIPT" cat $SPRINT_INSTALL_SCRIPT | ssh -T $SPRINT_SERVER "cat > ~/$SPRINT_INSTALL_SCRIPT ; chmod 755 ~/$SPRINT_INSTALL_SCRIPT ; ~/$SPRINT_INSTALL_SCRIPT $VER ; rm -f ~/$SPRINT_INSTALL_SCRIPT"
fi fi
echo Done! echo Done!
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment