-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set and clear XML_CATALOG_FILES on activation and deactivation, respe…
- Loading branch information
Showing
9 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
set xml_catalog_files_libxslt=%XML_CATALOG_FILES% | ||
set XML_CATALOG_FILES=%CONDA_PREFIX%\etc\xml\catalog |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
$Env:xml_catalog_files_libxslt = "$Env:XML_CATALOG_FILES" | ||
$Env:XML_CATALOG_FILES = "$Env:CONDA_PREFIX\etc\xml\catalog" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/bash | ||
|
||
export xml_catalog_files_libxslt="${XML_CATALOG_FILES}" | ||
export XML_CATALOG_FILES="${CONDA_PREFIX}/etc/xml/catalog" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if defined xml_catalog_files_libxslt ( | ||
set XML_CATALOG_FILES=%xml_catalog_files_libxslt% | ||
) else ( | ||
set XML_CATALOG_FILES= | ||
) | ||
set xml_catalog_files_libxslt= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
if ($Env:xml_catalog_files_libxslt) { | ||
$Env:XML_CATALOG_FILES = "$Env:xml_catalog_files_libxslt" | ||
} else { | ||
$Env:XML_CATALOG_FILES = '' | ||
} | ||
$Env:xml_catalog_files_libxslt = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
|
||
if test -n "${xml_catalog_files_libxslt}"; then | ||
export XML_CATALOG_FILES="${xml_catalog_files_libxslt}" | ||
else | ||
unset XML_CATALOG_FILES | ||
fi | ||
unset xml_catalog_files_libxslt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39918ba
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@celestino-amado, please raise an issue on the feedstock instead of commenting on the commit. Thanks!