Create the pkgs dir if it does not already exist

Patch Contributed By: Nasser Grainawi <nasser@codeaurora.org>

Review URL: http://codereview.chromium.org/551126
This commit is contained in:
Colin Watson 2010-01-25 16:00:55 +00:00
parent 3700cd8c0c
commit 2c3e57fd0a

View File

@ -21,7 +21,10 @@ eval set -- "${FLAGS_ARGV}"
# Die on error
set -e
cd "${DEFAULT_BUILD_ROOT}/${FLAGS_architecture}/local_packages"
LOCAL_PKG_DIR="${DEFAULT_BUILD_ROOT}/${FLAGS_architecture}/local_packages"
mkdir -p "${LOCAL_PKG_DIR}"
cd "${LOCAL_PKG_DIR}"
DEB_BUILD_ARCH="$(dpkg-architecture -qDEB_BUILD_ARCH)"