Fix two typos in a variable name
authorGuido Trotter <ultrotter@google.com>
Fri, 2 Oct 2009 15:03:36 +0000 (16:03 +0100)
committerGuido Trotter <ultrotter@google.com>
Sat, 3 Oct 2009 22:39:03 +0000 (23:39 +0100)
Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Olivier Tharan <olive@google.com>

common.sh.in

index 0ee4ef5..ad4e99e 100644 (file)
@@ -189,8 +189,8 @@ if [ -n "$OS_VARIANT" ]; then
     exit 1
   fi
   VARIANT_CONFIG="$VARIANTS_DIR/$OS_VARIANT.conf"
-  if [ -f "$VARIANTS_CONFIG" ]; then
-    . "$VARIANTS_CONFIG"
+  if [ -f "$VARIANT_CONFIG" ]; then
+    . "$VARIANT_CONFIG"
   else
     if grep -qxF "$OS_VARIANT" variants.list; then
       log_error "ERROR: instance-debootstrap configuration error"