Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(939)

Unified Diff: src/scripts/import_native_build.sh

Issue 551126: Create the pkgs dir if it does not already exist (Closed)
Patch Set: remove test Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698