spack/share/spack
René Widera caa0c5c687 environment shell: fix spack load (#7747)
Fix `spack load` with extended packe specifications those includes spaces.
Solved by using perfectly parameter forwarding via temporary array.

example:
```
$ spack install zlib
$ spack install zlib cppflags='-O3 -march=native'
$ spack install zlib cppflags='-O2 -march=native'

$ spack find -d -L -f zlib
==> 3 installed packages.
-- linux-linuxmint18-x86_64 / gcc@5.4.0 -------------------------
k5hg4kkxiutkfl6n53ogz5wnlbdrsdtf    zlib@1.2.11%gcc

mse2fyzdxciszdhiqi4b5kl6fxkps3fh    zlib@1.2.11%gcc cppflags="-O2 -march=native"

vrnvj2fikcbxqxrymctnlpmud7wbuahk    zlib@1.2.11%gcc cppflags="-O3 -march=native"

$ spack load zlib cppflags='-O3 -march=native'
==> Error: Unexpected token
['zlib', 'cppflags=-O3', '-march=native']
```
2018-04-24 13:43:32 -07:00
..
csh Feature Proposal : Make All Python Extensions User Configuration Independent (#1435) 2016-10-06 14:43:49 -07:00
docker Docker-Based Developer Resource (#5871) 2018-02-27 00:36:14 -08:00
docs/docker/module-file-tutorial SC17: reworked module file tutorial section (#5657) 2017-11-12 00:27:20 -08:00
logo add artisanal handcrafted SVG Spack logo. (#6165) 2017-11-06 22:42:16 -08:00
qa Fixes conflicts in OSX nightly tests (#7732) 2018-04-12 14:11:36 +02:00
setup-env.csh Update copyright on LLNL files for 2018. (#7592) 2018-03-24 12:13:52 -07:00
setup-env.sh environment shell: fix spack load (#7747) 2018-04-24 13:43:32 -07:00
spack-completion.bash Autocomplete spack providers (#7783) 2018-04-17 09:33:04 -05:00