Mercurial > louis > kiibohd-controller
diff buildall.bash @ 409:494cd4d2e414
Merge pull request #90 from ryansb/fix/specialCharDirectories
Ensure directories can only be made with printable characters
author | Jacob Alexander <haata@kiibohd.com> |
---|---|
date | Sat, 06 Feb 2016 18:21:17 -0800 |
parents | 47a2714ca802 |
children |
line wrap: on
line diff
--- a/buildall.bash Sat Feb 06 18:06:37 2016 -0800 +++ b/buildall.bash Sat Feb 06 18:21:17 2016 -0800 @@ -31,7 +31,8 @@ # 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