Renames variable on deployment script to not confuse with deployment host target
This commit is contained in:
parent
f3229ab566
commit
f516cc2dac
@ -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
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user