* Previously, when enabling collections, a check whether a collection was enabled was performed. However, independently of the result the collection was always enabled. Consequently, if a single collection had been stated multiple times in the command line, it would be enabled multiple times. In the case of some destructive enable scriptlets, this might have led to some undetermined behavior. This update runs the enable scriptlet only if the collection has not been enabled before, and attempts to enable a collection multiple times in one environment will be ignored.
+++ This bug was initially created as a clone of Bug #964056 +++
Description of problem:
It is possible to enable collection repeatedly when it is specified multiple times for 'scl enable' command .
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. scl enable MockA MockB MockA 'echo $PATH; echo $X_SCLS'
--- Additional comment from RHEL Product and Program Management on 2013-05-17 03:29:59 EDT ---
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release. Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products. This request is not yet committed for inclusion in
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.