diff options
Diffstat (limited to 'tests/data/create-test-packages.sh')
-rwxr-xr-x | tests/data/create-test-packages.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/data/create-test-packages.sh b/tests/data/create-test-packages.sh index 860e0b2d..acfff91a 100755 --- a/tests/data/create-test-packages.sh +++ b/tests/data/create-test-packages.sh @@ -7,14 +7,11 @@ #set -x set -e -isWin=0 -isMac=0 -[ "$OS" == "Windows_NT" ] && isWin=1 -[ "$(uname)" == "Darwin" ] && isMac=1 - # check basic requirement [ ! -d certificates ] && { echo "Please cd to the tests/data directory before running this script"; exit 1; } +. ./utilities.sh + # set a well-known UTF-8 locale: C.UTF-8 is the obvious choice, but macOS doesn't support it if [ "$isMac" = "1" ]; then export LC_ALL=en_US.UTF-8 @@ -22,8 +19,6 @@ else export LC_ALL=C.UTF-8 fi -. utilities.sh - usage() { echo "create-test-packages.sh <appman-packager binary>" |