7187N/A# Copyright (c) 2010, Oracle
and/or its affiliates. All rights reserved.
7187N/A# Permission is hereby granted, free of charge, to any person obtaining a
7187N/A# copy of this software and associated documentation files (the "Software"),
7187N/A# to deal in the Software without restriction, including without limitation
7187N/A# the rights to use, copy, modify, merge, publish, distribute, sublicense,
7187N/A#
and/or sell copies of the Software, and to permit persons to whom the
7187N/A# Software is furnished to do so, subject to the following conditions:
7187N/A# The above copyright notice and this permission notice (including the next
7187N/A# paragraph) shall be included in all copies or substantial portions of the
7187N/A# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
7187N/A# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
7187N/A# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
7187N/A# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
7187N/A# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
7187N/A# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
7187N/A# Only publish packages for the currently specified architecture
7187N/A# This is somewhat nonintuitive. In English:
7187N/A# For any action of type "set",
7187N/A# and *every* occurrence of the "value" property does not match
7187N/A# $ARCH, then don't publish it.
7187N/A#
...in other words, if *any* occurrence of "value" matches $(ARCH),
7187N/A# then the negative lookahead assertion in the regex will fail, and we
7187N/A# won't abort based on the action.