-#!/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
#
cmake -DScanModuleOverride=$module ../.. && make || let failCount++
# Cleanup, for the next build
- cd -
+ cd - > /dev/null
done
totalModules=$(echo $scanModules | wc -w)