mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-14 15:12:03 +01:00
Remove duplication in chromiumos-build invocation
Review URL: http://codereview.chromium.org/555032
This commit is contained in:
parent
844d5abb1d
commit
d4ecbea68c
@ -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..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user