diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-07-22 13:56:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-22 13:56:19 -0700 |
commit | 395c616a484bfb0385ea2304c566798f65a19127 (patch) | |
tree | 32de082c2ad6a407932ab25d1ff3559c6c5433bc /share | |
parent | f5b4664c7c58280776cb66e000d2c37487155ad1 (diff) | |
parent | fa92f58167352efa21c787bf38e878ad471484f8 (diff) | |
download | spack-395c616a484bfb0385ea2304c566798f65a19127.tar.gz spack-395c616a484bfb0385ea2304c566798f65a19127.tar.bz2 spack-395c616a484bfb0385ea2304c566798f65a19127.tar.xz spack-395c616a484bfb0385ea2304c566798f65a19127.zip |
Merge pull request #950 from xjrc/packages/python
Enhancement Proposal: Make Python Spack Installs Ignore User Configuration
Diffstat (limited to 'share')
-rw-r--r-- | share/spack/csh/convert-pyext.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/share/spack/csh/convert-pyext.sh b/share/spack/csh/convert-pyext.sh new file mode 100644 index 0000000000..a48bcdbcca --- /dev/null +++ b/share/spack/csh/convert-pyext.sh @@ -0,0 +1,5 @@ +#!/bin/bash --noprofile +PYEXT_REGEX=".*/.*/package.py" + +find var/spack/repos/builtin/packages/ -type f -regextype sed -regex ${PYEXT_REGEX} -exec \ + sed -i 's/python('\''setup.py'\'', /setup_py(/' {} \; |