Fix missing export of $ARCH

So that elements can have access to the variable.

Change-Id: I9a63160ef891e3a3a3c6c90856e2539250c8b807
This commit is contained in:
Lucas Alvares Gomes 2013-05-01 15:13:24 +01:00
parent e27ac025fc
commit 2cd44bd77c

View File

@ -19,7 +19,7 @@ if [ -f /etc/debian_version ]; then
else
_ARCH=$(uname -m)
fi
ARCH=${ARCH:-_ARCH}
ARCH=${ARCH:-$_ARCH}
case $ARCH in
"x86_64")
@ -32,6 +32,7 @@ case $ARCH in
echo "WARNING: Unknown architecture: $ARCH"
;;
esac
export ARCH
FS_TYPE=${FS_TYPE:-ext4}
# Used to set the file extension only at this stage.