diff --git a/confluent_osdeploy/suse15/profiles/hpc/scripts/functions b/confluent_osdeploy/suse15/profiles/hpc/scripts/functions index 926bcf64..a1da8084 100644 --- a/confluent_osdeploy/suse15/profiles/hpc/scripts/functions +++ b/confluent_osdeploy/suse15/profiles/hpc/scripts/functions @@ -16,6 +16,7 @@ run_remote() { tmpdir=$(mktemp -d) echo Executing in $tmpdir cd $tmpdir + mkdir -p $(dirname $1) curl -f -sS https://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/$1 > $1 if [ $? != 0 ]; then echo $requestedcmd failed to download; return 1; fi chmod +x $1 @@ -61,6 +62,7 @@ run_remote_python() { tmpdir=$(mktemp -d) echo Executing in $tmpdir cd $tmpdir + mkdir -p $(dirname $1) curl -f -sS https://$confluent_mgr/confluent-public/os/$confluent_profile/scripts/$1 > $1 if [ $? != 0 ]; then echo "'$*'" failed to download; return 1; fi python3 $*