diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-07-08 14:20:05 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-08-09 12:47:05 +0200 |
commit | e3f7dbbac800124baa26317fcf792fe08f140655 (patch) | |
tree | 80a159018c9f97a9c60ff440c51ebaad1647d396 /pkgs/development/interpreters/python | |
parent | 2db867eec9f09648cae4c6e4ab8e4eae4cfc98f1 (diff) | |
download | nixlib-e3f7dbbac800124baa26317fcf792fe08f140655.tar nixlib-e3f7dbbac800124baa26317fcf792fe08f140655.tar.gz nixlib-e3f7dbbac800124baa26317fcf792fe08f140655.tar.bz2 nixlib-e3f7dbbac800124baa26317fcf792fe08f140655.tar.lz nixlib-e3f7dbbac800124baa26317fcf792fe08f140655.tar.xz nixlib-e3f7dbbac800124baa26317fcf792fe08f140655.tar.zst nixlib-e3f7dbbac800124baa26317fcf792fe08f140655.zip |
Cleanup: Use += to append to envHooks
Diffstat (limited to 'pkgs/development/interpreters/python')
5 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/interpreters/python/2.6/setup-hook.sh b/pkgs/development/interpreters/python/2.6/setup-hook.sh index 290525c35713..4caff9c9d846 100644 --- a/pkgs/development/interpreters/python/2.6/setup-hook.sh +++ b/pkgs/development/interpreters/python/2.6/setup-hook.sh @@ -12,4 +12,4 @@ toPythonPath() { echo $result } -envHooks=(${envHooks[@]} addPythonPath) +envHooks+=(addPythonPath) diff --git a/pkgs/development/interpreters/python/2.7/setup-hook.sh b/pkgs/development/interpreters/python/2.7/setup-hook.sh index a393b70afe10..4770eea886f6 100644 --- a/pkgs/development/interpreters/python/2.7/setup-hook.sh +++ b/pkgs/development/interpreters/python/2.7/setup-hook.sh @@ -12,4 +12,4 @@ toPythonPath() { echo $result } -envHooks=(${envHooks[@]} addPythonPath) +envHooks+=(addPythonPath) diff --git a/pkgs/development/interpreters/python/3.2/setup-hook.sh b/pkgs/development/interpreters/python/3.2/setup-hook.sh index e6fa34bf54ba..e8215ef9877c 100644 --- a/pkgs/development/interpreters/python/3.2/setup-hook.sh +++ b/pkgs/development/interpreters/python/3.2/setup-hook.sh @@ -12,4 +12,4 @@ toPythonPath() { echo $result } -envHooks=(${envHooks[@]} addPythonPath) +envHooks+=(addPythonPath) diff --git a/pkgs/development/interpreters/python/3.3/setup-hook.sh b/pkgs/development/interpreters/python/3.3/setup-hook.sh index c272c87daf1c..82a8c0abd32f 100644 --- a/pkgs/development/interpreters/python/3.3/setup-hook.sh +++ b/pkgs/development/interpreters/python/3.3/setup-hook.sh @@ -12,4 +12,4 @@ toPythonPath() { echo $result } -envHooks=(${envHooks[@]} addPythonPath) +envHooks+=(addPythonPath) diff --git a/pkgs/development/interpreters/python/3.4/setup-hook.sh b/pkgs/development/interpreters/python/3.4/setup-hook.sh index ae71b4147ab7..fddcc0b73fe8 100644 --- a/pkgs/development/interpreters/python/3.4/setup-hook.sh +++ b/pkgs/development/interpreters/python/3.4/setup-hook.sh @@ -12,4 +12,4 @@ toPythonPath() { echo $result } -envHooks=(${envHooks[@]} addPythonPath) +envHooks+=(addPythonPath) |