diff options
author | Igor Pashev <igor.pashev@nexenta.com> | 2012-09-24 15:26:47 +0400 |
---|---|---|
committer | Igor Pashev <igor.pashev@nexenta.com> | 2012-09-24 15:26:47 +0400 |
commit | 2feef1ea3d28ab54684d1cc57f07bb638545555a (patch) | |
tree | 91d6238cfb930e8c92d260ba516e50da8c7408f0 /rules | |
parent | 608b9ae4289d27c4ac3eb53c8cc1b9dca2a944c1 (diff) | |
download | cibs-2feef1ea3d28ab54684d1cc57f07bb638545555a.tar.gz |
Manifests should be published one by one
Diffstat (limited to 'rules')
-rw-r--r-- | rules/ips.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rules/ips.mk b/rules/ips.mk index 8e05e8b..31ecebb 100644 --- a/rules/ips.mk +++ b/rules/ips.mk @@ -120,9 +120,9 @@ pre-publish: resolve-stamp publish-stamp: pre-publish protodirs-stamp @if [ -n "$(ips-repo)" ]; then \ set -x; \ - pkgsend -s $(ips-repo) publish --fmri-in-manifest \ - $(pkg-protos) \ - $(resolved-manifests) && \ + for m in $(resolved-manifests); do \ + pkgsend -s $(ips-repo) publish --fmri-in-manifest $(pkg-protos) $$m || exit 1; \ + done; \ touch $@; \ else \ echo "Variable 'ips-repo' is not defined."; \ |