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

Unified Diff: src/scripts/build_platform_packages.sh

Issue 518004: Make more build scripts barf when run as root. (Closed)
Patch Set: Created 11 years 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 | « src/scripts/build_image.sh ('k') | src/scripts/build_tests.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_platform_packages.sh
diff --git a/src/scripts/build_platform_packages.sh b/src/scripts/build_platform_packages.sh
index 3ac5f7c854093018953dcb66428cbeb044cb94a1..66a21a78b3652a1a3668d9c1ab445cf3a897a173 100755
--- a/src/scripts/build_platform_packages.sh
+++ b/src/scripts/build_platform_packages.sh
@@ -8,8 +8,8 @@
# The path to common.sh should be relative to your script's location.
. "$(dirname "$0")/common.sh"
-# Script must be run inside the chroot
assert_inside_chroot
+assert_not_root_user
# Flags
DEFINE_boolean stable $FLAGS_FALSE "Build with stable version of browser."
« no previous file with comments | « src/scripts/build_image.sh ('k') | src/scripts/build_tests.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698