Mercurial > louis > kiibohd-controller
changeset 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 | b7411ae25432 (current diff) 47a2714ca802 (diff) |
children | 065959b4f7bd |
files | |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
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