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=$( remote_command=$(
cat <<CMD cat <<CMD
target=\$(mktemp -d -t kickstart.XXXXX) deploy_folder=\$(mktemp -d -t kickstart.XXXXX)
mkdir -p "\$target" mkdir -p "\$deploy_folder"
cd "\$target" cd "\$deploy_folder"
tar xz tar xz
exit_status=0 exit_status=0
$prefix bash $debug install.sh || exit_status=\$? $prefix bash $debug install.sh || exit_status=\$?
rm -rf "\$target" rm -rf "\$deploy_folder"
exit \$exit_status exit \$exit_status
CMD CMD
) )