2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-11 10:18:00 +00:00

Correct functions in profiles

Use functions correectly.
This commit is contained in:
Jarrod Johnson 2020-07-15 15:22:27 -04:00
parent 6dadac498f
commit d49f018981
3 changed files with 6 additions and 3 deletions

View File

@ -2,7 +2,8 @@ run_remote() {
cd $(mktemp -d)
curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1
chmod +x $1
cmd=$(shift)
cmd=$1
shift
./$cmd $*
cd -
}

View File

@ -2,7 +2,8 @@ run_remote() {
cd $(mktemp -d)
curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1
chmod +x $1
cmd=$(shift)
cmd=$1
shift
./$cmd $*
cd -
}

View File

@ -2,7 +2,8 @@ run_remote() {
cd $(mktemp -d)
curl -f https://$mgr/confluent-public/os/$profile/scripts/$1 > $1
chmod +x $1
cmd=$(shift)
cmd=$1
shift
./$cmd $*
cd -
}