]> git.donarmstrong.com Git - kiibohd-controller.git/blobdiff - buildall.bash
Start removing select Linux-isms
[kiibohd-controller.git] / buildall.bash
index 410460f17834cbaa63eb0bbe9c117c2c8149eb2f..4f5aaa9de530f357d34c0aa1f2c3259cdf44ac9e 100755 (executable)
@@ -1,6 +1,6 @@
-#!/bin/bash
+#!/usr/bin/env bash
 ###| Builder Script |###
-# 
+#
 # Builds all permutations of modules
 # This script is an attempt to maintain module sanity as new ones are added
 #
@@ -40,7 +40,7 @@ main() {
                cmake -DScanModuleOverride=$module ../.. && make || let failCount++
 
                # Cleanup, for the next build
-               cd -
+               cd - > /dev/null
        done
 
        totalModules=$(echo $scanModules | wc -w)