mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-29 03:51:54 +08:00
fix: compatible for macOS
This commit is contained in:
@@ -76,7 +76,7 @@ push_image() {
|
||||
docker push "$tag"
|
||||
}
|
||||
|
||||
ALL_COMPONENTS=$(ls cmd | grep -v '.*cli$' | paste -sd ' ')
|
||||
ALL_COMPONENTS=$(ls cmd | grep -v '.*cli$' | xargs)
|
||||
|
||||
if [ "$#" -lt 1 ]; then
|
||||
echo "No component is specified~"
|
||||
|
||||
Reference in New Issue
Block a user