You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
367 B
19 lines
367 B
#!/bin/bash
|
|
|
|
SCRIPT_LOCATION=$0
|
|
cd "$(dirname "$SCRIPT_LOCATION")"
|
|
WORK_DIR=$(pwd)
|
|
|
|
if [[ " $* " == *" --help "* ]] || [[ " $* " == *" -h "* ]]; then
|
|
bash $WORK_DIR/base/build_image.sh "$@"
|
|
exit 0
|
|
fi
|
|
|
|
bash $WORK_DIR/base/build_image.sh "$@"
|
|
|
|
if [ 0 -ne $? ]; then
|
|
echo "Error: build base image failed"
|
|
exit 1
|
|
fi
|
|
|
|
bash $WORK_DIR/allinone/build_image.sh |