Fix path to library files and change shebang line
'source' is a BASH keyword. Edit the path to the library files by
using the POSIX version of the 'source' keyword.
Also change the interpreter from #!/bin/bash to #!/bin/sh.
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
diff --git a/cpufreq/cpufreq_sanity.sh b/cpufreq/cpufreq_sanity.sh
index e3518b8..24784f9 100755
--- a/cpufreq/cpufreq_sanity.sh
+++ b/cpufreq/cpufreq_sanity.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
#
# PM-QA validation test suite for the power management on Linux
#
@@ -23,7 +23,7 @@
# - initial API and implementation
#
-source ../include/functions.sh
+. ../include/functions.sh
is_root
if [ $? -ne 0 ]; then