From 038cd190b42b17de0c73e5323f018d3b6d4058f9 Mon Sep 17 00:00:00 2001 From: Christopher Baker Date: Mon, 1 Apr 2019 13:31:18 -0600 Subject: [PATCH] Fix broken formulas. --- scripts/formulas/ucdn.sh | 3 ++- scripts/formulas/unibreak.sh | 6 +++--- scripts/formulas/utf8proc.sh | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/formulas/ucdn.sh b/scripts/formulas/ucdn.sh index 5a4094c..99af4ed 100644 --- a/scripts/formulas/ucdn.sh +++ b/scripts/formulas/ucdn.sh @@ -8,7 +8,8 @@ # array of build types supported by this formula # you can delete this to implicitly support *all* types -FORMULA_TYPES=( "osx", "msys2", "vs" ) + +FORMULA_TYPES=( "osx" "msys2" "vs" ) # download the source code and unpack it into LIB_NAME function download() { diff --git a/scripts/formulas/unibreak.sh b/scripts/formulas/unibreak.sh index e0c52b6..0398a2e 100644 --- a/scripts/formulas/unibreak.sh +++ b/scripts/formulas/unibreak.sh @@ -9,7 +9,7 @@ # array of build types supported by this formula # you can delete this to implicitly support *all* types -FORMULA_TYPES=( "osx", "msys2", "vs" ) +FORMULA_TYPES=( "osx" "msys2" "vs" ) VER=4_0 @@ -72,7 +72,7 @@ function copy() { INSTALLED_LIB=src/ReleaseDir/libunibreak.a elif [ "$TYPE" == "vs" ] ; then INSTALLED_INCLUDE_DIR=src - INSTALLED_LIB=src/Release/unibreak.lib + INSTALLED_LIB_DIR=src/Release/unibreak.lib fi mkdir -p $1/include/ @@ -84,7 +84,7 @@ function copy() { cp -v $INSTALLED_INCLUDE_DIR/wordbreak.h $1/include/ mkdir -p $1/lib/$TYPE/ - cp -v $INSTALLED_LIB $1/lib/$TYPE/ + cp -v $INSTALLED_LIB_DIR $1/lib/$TYPE/ # copy license file rm -rf $1/license # remove any older files if exists diff --git a/scripts/formulas/utf8proc.sh b/scripts/formulas/utf8proc.sh index bc3dd0b..5244488 100644 --- a/scripts/formulas/utf8proc.sh +++ b/scripts/formulas/utf8proc.sh @@ -8,7 +8,7 @@ # array of build types supported by this formula # you can delete this to implicitly support *all* types -FORMULA_TYPES=( "osx", "msys2" ) +FORMULA_TYPES=( "osx" "msys2" ) # Currently for VS, we use cmake and manually build from the command line.