fix: compatible for macOS

This commit is contained in:
Qu Xuan
2020-08-10 14:39:41 +08:00
parent cad24ac69b
commit a6bff94983
+1 -1
View File
@@ -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~"