Merge "Fix missing export of $ARCH"

This commit is contained in:
Jenkins 2013-05-01 20:47:39 +00:00 committed by Gerrit Code Review
commit 9e9f5fecb8

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.