diff --git a/scripts/gen-namespace.sh b/scripts/gen-namespace.sh index e82ba00..038254b 100644 --- a/scripts/gen-namespace.sh +++ b/scripts/gen-namespace.sh @@ -16,26 +16,25 @@ set -ex if [ -z "$OUT" ]; then - echo "Please set OUT"; exit 1 + echo "Please set OUT" + exit 1 fi if [ -z "$NAMESPACE" ]; then - echo "Please set NAMESPACE"; exit 1 + echo "Please set NAMESPACE" + exit 1 fi OUT_DIR=${OUT}/${NAMESPACE} if [ ! -d ${OUT_DIR} ]; then - mkdir -p ${OUT_DIR} + mkdir -p ${OUT_DIR} fi # can share this for all the operators, won't get re-applied if it already exists -cat > ${OUT_DIR}/namespace.yaml <${OUT_DIR}/namespace.yaml <