Browse Source

Do not execute dist_and_arch_settings() if PROVIDE_ONLY is set

There's no need to report what settings would be chosen for
executing cowbuilder if we're interested only in the
repository step, so just skip the code then.
merge-requests/109/head
Michael Prokop 10 years ago
parent
commit
a271c48c3f
  1. 5
      scripts/build-and-provide-package

5
scripts/build-and-provide-package

@ -161,6 +161,11 @@ identify_sourcefile() {
}
dist_and_arch_settings() {
if [ -n "${PROVIDE_ONLY:-}" ] ; then
echo "*** Config variable 'PROVIDE_ONLY' is set, ignoring request to run dist_and_arch_settings() ***"
return 0
fi
if [ -n "${COWBUILDER_DIST:-}" ]; then
echo "*** COWBUILDER_DIST is set to $COWBUILDER_DIST - using it for base.cow if it does not exist yet. ***"
else

Loading…
Cancel
Save