From ddf5c236446767b60718b7254a4e4d3c5e4c941c Mon Sep 17 00:00:00 2001 From: Louis Burda Date: Sun, 23 May 2021 19:00:18 +0200 Subject: added test command for upload custom file, various smaller changes, fixed float little-endian loading --- service/do.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'service/do.sh') diff --git a/service/do.sh b/service/do.sh index fd3b8b0..d0ac5ed 100644 --- a/service/do.sh +++ b/service/do.sh @@ -55,16 +55,17 @@ elif [ "$1" == "test" ]; then SRCDIR="$PWD/src" DATADIR="$PWD/container/data" bash "tests/test.sh" ${@:2} elif [ "$1" == "make" ]; then # build a normal version - cd src + pushd src if [ -e ".safebuild" ]; then make clean rm ".safebuild" fi make + popd elif [ "$1" == "make-safe" ]; then # build a 'safe' version with flagstore patches - cd src + pushd src make clean touch ".safebuild" @@ -78,6 +79,7 @@ elif [ "$1" == "make-safe" ]; then PREFIX="safe_" make rm safe_* + popd else echo "USAGE: do.sh (compose) [args..]" echo "EXAMPLES:" -- cgit v1.2.3-71-gd317