diff --git a/build_all_packs.sh b/build_all_packs.sh index cb2b0b2..985944c 100755 --- a/build_all_packs.sh +++ b/build_all_packs.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + schemes=("as" "bn" "gu" "hi" "kn" "ml" "ml-inscript" "mr" "ne" "or" "pa" "sa" "ta" "te") for schemeID in ${schemes[@]}; do for packDir in schemes/$schemeID/*/ ; do diff --git a/build_all_schemes.sh b/build_all_schemes.sh index 2744b8d..fd19336 100755 --- a/build_all_schemes.sh +++ b/build_all_schemes.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + schemes=("as" "bn" "gu" "hi" "kn" "ml" "ml-inscript" "mr" "ne" "or" "pa" "sa" "ta" "te") for f in ${schemes[@]}; do ./build_scheme.sh $f diff --git a/build_scheme.sh b/build_scheme.sh index e64a3a7..9bfe91c 100755 --- a/build_scheme.sh +++ b/build_scheme.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + f=$1 vst=schemes/$f/$f.vst ./compile-scheme.rb -s schemes/$f/$f.scheme -o $vst diff --git a/build_source_with_lfs_zip.sh b/build_source_with_lfs_zip.sh index 6eef96a..d62c971 100755 --- a/build_source_with_lfs_zip.sh +++ b/build_source_with_lfs_zip.sh @@ -1,2 +1,4 @@ +set -e + git lfs fetch zip -r source-with-lfs.zip . -x '.git' diff --git a/build_zips.sh b/build_zips.sh index fa49765..4b2225a 100755 --- a/build_zips.sh +++ b/build_zips.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + cd schemes schemes=("as" "bn" "gu" "hi" "kn" "ml" "ml-inscript" "mr" "ne" "or" "pa" "sa" "ta" "te") diff --git a/install_all_schemes.sh b/install_all_schemes.sh index 988719b..d1cd806 100755 --- a/install_all_schemes.sh +++ b/install_all_schemes.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +set -e + SUDO=${SUDO:-sudo} PREFIX=/usr/local