Renames variable on deployment script to not confuse with deployment host target

This commit is contained in:
Bruno Tavares 2015-09-26 00:31:38 -03:00
parent f3229ab566
commit f516cc2dac

View File

@ -11,13 +11,13 @@ shift
remote_command=$(
cat <<CMD
target=\$(mktemp -d -t kickstart.XXXXX)
mkdir -p "\$target"
cd "\$target"
deploy_folder=\$(mktemp -d -t kickstart.XXXXX)
mkdir -p "\$deploy_folder"
cd "\$deploy_folder"
tar xz
exit_status=0
$prefix bash $debug install.sh || exit_status=\$?
rm -rf "\$target"
rm -rf "\$deploy_folder"
exit \$exit_status
CMD
)