X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=buildall.bash;h=a8c393b58eea7c8b7c09317d0afd08b926675716;hb=a848a6bc79285a2e5b3705f126c36e5c5037d5ef;hp=dd3a7cc13764579bd4fe09fb17f10fb3b5a1f83a;hpb=96e785b571a231265d64fbe5083371480cd3a549;p=kiibohd-controller.git diff --git a/buildall.bash b/buildall.bash index dd3a7cc..a8c393b 100755 --- a/buildall.bash +++ b/buildall.bash @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ###| Builder Script |### # # Builds all permutations of modules @@ -31,7 +31,8 @@ main() { # Create permutation directories # Then run cmake, and run each build permutation # Keeping track of how many builds failed/passed - for module in $scanModules; do + for mod in $scanModules; do + module=$(tr -dc "[:print:]" <<< "$mod") # Create directory, but do not error if it exists already mkdir -p build/$module cd build/$module