feat: add scripts (#514)

This commit is contained in:
Xinwei Xiong
2023-07-12 19:21:55 +08:00
committed by GitHub
parent de1b970046
commit 1b5eb4a5c0
5 changed files with 9 additions and 9 deletions
+5 -2
View File
@@ -26,8 +26,6 @@ echo -e "${YELLOW_PREFIX}=======>SCRIPTS_ROOT=$SCRIPTS_ROOT${COLOR_SUFFIX}"
echo -e "${YELLOW_PREFIX}=======>OPENIM_ROOT=$OPENIM_ROOT${COLOR_SUFFIX}"
echo -e "${YELLOW_PREFIX}=======>pwd=$PWD${COLOR_SUFFIX}"
cd $SCRIPTS_ROOT
echo -e ""
echo -e "${BACKGROUND_BLUE}===============> Building all using make build binary files ${COLOR_SUFFIX}"
@@ -65,6 +63,11 @@ cd $OPENIM_ROOT
# Execute 'make build'
make build
if [ $? -ne 0 ]; then
echo "make build Error, script exits"
exit 1
fi
# Get the current operating system and architecture
OS=$(uname -s | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m)