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

Unified Diff: src/scripts/build_platform_packages.sh

Issue 555032: Remove duplication in chromiumos-build invocation (Closed)
Patch Set: 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/build_platform_packages.sh
diff --git a/src/scripts/build_platform_packages.sh b/src/scripts/build_platform_packages.sh
index d436c3c5c6411ff2515ac3067c1ddba6fa9a8a4a..eb98b975ab01816f43314553c39c3ab8e10d9142 100755
--- a/src/scripts/build_platform_packages.sh
+++ b/src/scripts/build_platform_packages.sh
@@ -8,6 +8,11 @@
# The path to common.sh should be relative to your script's location.
. "$(dirname "$0")/common.sh"
+verbose() {
+ echo "$@"
+ "$@"
+}
+
assert_inside_chroot
assert_not_root_user
@@ -57,8 +62,7 @@ if [ $FLAGS_new_build -eq $FLAGS_TRUE ]; then
for PKG in $PLATFORM_DIRS $THIRD_PARTY_PACKAGES; do
PACKAGES="$PACKAGES ${PKG%/*}"
done
- echo chromiumos-build -a "$FLAGS_architecture" --apt-source $PACKAGES
- chromiumos-build -a "$FLAGS_architecture" --apt-source $PACKAGES
+ verbose chromiumos-build -a "$FLAGS_architecture" --apt-source $PACKAGES
else
# Build dh-chromeos really first. Some of third_party needs it.
echo "Building package dh-chromeos..."
« 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