Index: src/scripts/import_native_build.sh |
diff --git a/src/scripts/import_native_build.sh b/src/scripts/import_native_build.sh |
index f7c2b5b8af5a07ae1d8b7729d8f68653df958f0f..cd1ab761ed22d2d5003f166ab362b31c3b81c412 100755 |
--- a/src/scripts/import_native_build.sh |
+++ b/src/scripts/import_native_build.sh |
@@ -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)" |