#!/bin/sh # Set Content-Type header to text/plain echo "Content-Type: text/plain" echo # Output the content of the requested .sh file cat "$1" SOURCE_USER=$1 SOURCE_HOST=$2 SOURCE_PASSWORD=$(echo -n $3 | sed -e 's/\$/\\\$/g') SOURCE_APP_PATH=$4 DEST_APP_PATH=$5 ADD_ARGS=$6 ## sourcecode migration /usr/bin/expect <