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:
parent
6dadac498f
commit
d49f018981
@ -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 -
|
||||
}
|
||||
|
@ -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 -
|
||||
}
|
||||
|
@ -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 -
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user