aboutsummaryrefslogtreecommitdiff
path: root/cpufreq/cpufreq_08.sh
diff options
context:
space:
mode:
authorzhanghongbo <hongbo.zhang@linaro.org>2012-08-17 19:06:33 +0800
committerhongbo.zhang <hongbo.zhang@linaro.com>2012-11-28 17:11:49 +0800
commit13a161c5b349977c505cfab5ec346d3adcdfcd07 (patch)
tree45955f2ff3f1ba7a73305232578e3011f11a4b58 /cpufreq/cpufreq_08.sh
parentea9b7f31710abcabd44fb8deeea77d013de4a8a8 (diff)
cpufreq bug fix: variables should be surrouded by quotation marks.
Signed-off-by: hongbo.zhang <hongbo.zhang@linaro.com>
Diffstat (limited to 'cpufreq/cpufreq_08.sh')
-rwxr-xr-xcpufreq/cpufreq_08.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpufreq/cpufreq_08.sh b/cpufreq/cpufreq_08.sh
index e881f72..328b4f5 100755
--- a/cpufreq/cpufreq_08.sh
+++ b/cpufreq/cpufreq_08.sh
@@ -72,7 +72,7 @@ if [ $(id -u) != 0 ]; then
fi
supported=$(cat $CPU_PATH/cpu0/cpufreq/scaling_available_governors | grep "userspace")
-if [ -z $supported ]; then
+if [ -z "$supported" ]; then
log_skip "userspace not supported"
exit 0
fi