aboutsummaryrefslogtreecommitdiffstats
path: root/common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'common.sh')
-rwxr-xr-xcommon.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.sh b/common.sh
index 93aed13..6cb297e 100755
--- a/common.sh
+++ b/common.sh
@@ -18,7 +18,7 @@ build_kernel()
for V in guest host; do
[ -d ${V} ] || {
- if [ "${1}" = "guest" ]; then
+ if [ "${V}" = "guest" ]; then
BRANCH="${KERNEL_GUEST_BRANCH}"
else
BRANCH="${KERNEL_HOST_BRANCH}"