Permalink
Browse files

DB switch in install-libs.sh, OS switch in build-all.sh

  • Loading branch information...
CodeShark committed Aug 17, 2014
1 parent c8c00ec commit e84c193d4b60fb44383705cfa9ec5803de9e4ba9
Showing with 7 additions and 0 deletions.
  1. +2 −0 build-all.sh
  2. +5 −0 install-libs.sh
@@ -6,6 +6,7 @@ do
linux)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=linux
OPTIONS="OS=linux $OPTIONS"
;;
mingw64)
@@ -18,6 +19,7 @@ do
osx)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=osx
OPTIONS="OS=osx $OPTIONS"
;;
debug)
@@ -6,26 +6,31 @@ do
linux)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=linux
OPTIONS="OS=linux $OPTIONS"
;;
mingw64)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=mingw64
OPTIONS="OS=mingw64 $OPTIONS"
;;
osx)
if [[ ! -z "$OS" ]]; then echo "OS cannot be set twice"; exit 1; fi
OS=osx
OPTIONS="OS=osx $OPTIONS"
;;
sqlite)
if [[ ! -z "$DB" ]]; then echo "DB cannot be set twice"; exit 1; fi
DB=sqlite
OPTIONS="DB=sqlite $OPTIONS"
;;
mysql)
if [[ ! -z "$DB" ]]; then echo "DB cannot be set twice"; exit 1; fi
DB=mysql
OPTIONS="DB=mysql $OPTIONS"
;;
debug)

0 comments on commit e84c193

Please sign in to comment.