From 96f22d875b8a8e20de3ee89447e7d8dd11fc336d Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Sun, 6 Mar 2016 11:32:09 -0300 Subject: [PATCH] Fix typo in variable name that end up breaking nanobsd images. Fixes #5956 --- tools/builder_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/builder_common.sh b/tools/builder_common.sh index 3bd3cfc248..e559e73835 100644 --- a/tools/builder_common.sh +++ b/tools/builder_common.sh @@ -482,7 +482,7 @@ nanobsd_image_filename() { local _type="$2" local _upgrade="$3" - if [ -z "$upgrade" ]; then + if [ -z "$_upgrade" ]; then local _template=${NANOBSD_IMG_TEMPLATE} else local _template=${NANOBSD_UPGRADE_TEMPLATE}