Index: src/scripts/make_local_repo.sh |
diff --git a/src/scripts/make_local_repo.sh b/src/scripts/make_local_repo.sh |
index 7392916253de919fb3be819baac41208c2bc357f..11e28bba3a04b87dd2a070c20147dc971da36eab 100755 |
--- a/src/scripts/make_local_repo.sh |
+++ b/src/scripts/make_local_repo.sh |
@@ -8,8 +8,9 @@ |
# The path to common.sh should be relative to your script's location. |
. "$(dirname "$0")/common.sh" |
-# Script must be run outside the chroot |
+# Script must be run outside the chroot and as a regular user. |
assert_outside_chroot |
+assert_not_root_user |
DEFAULT_DEST="$GCLIENT_ROOT/repo" |
DEFAULT_DEV_PKGLIST="$SRC_ROOT/package_repo/repo_list_dev.txt" |