about summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorWill Dietz <github@wdtz.org>2019-01-30 22:54:33 -0600
committerGitHub <noreply@github.com>2019-01-30 22:54:33 -0600
commite5a891890913d22278048c7280f489851fa48081 (patch)
treedd1a6f584e947514ce989a088595175ea3870988 /pkgs/development
parentb61797baf3d9bf41c3f0767e809fc97157b1624e (diff)
parentd96dcb66fbd84daac7ba83ce670f478a42018678 (diff)
downloadnixlib-e5a891890913d22278048c7280f489851fa48081.tar
nixlib-e5a891890913d22278048c7280f489851fa48081.tar.gz
nixlib-e5a891890913d22278048c7280f489851fa48081.tar.bz2
nixlib-e5a891890913d22278048c7280f489851fa48081.tar.lz
nixlib-e5a891890913d22278048c7280f489851fa48081.tar.xz
nixlib-e5a891890913d22278048c7280f489851fa48081.tar.zst
nixlib-e5a891890913d22278048c7280f489851fa48081.zip
Merge pull request #54961 from dtzWill/update/lua-setuphook-shoosh-hush-please
lua-5 setup-hook: quiet noisy 'cd -' printing path repeatedly
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/interpreters/lua-5/setup-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/interpreters/lua-5/setup-hook.sh b/pkgs/development/interpreters/lua-5/setup-hook.sh
index a015f35e7cef..5e37bd27f617 100644
--- a/pkgs/development/interpreters/lua-5/setup-hook.sh
+++ b/pkgs/development/interpreters/lua-5/setup-hook.sh
@@ -40,7 +40,7 @@ addToLuaPath() {
     do
         addToLuaSearchPathWithCustomDelimiter LUA_CPATH "$PWD/$pattern"
     done
-    cd -
+    cd - >/dev/null
 }
 
 addEnvHooks "$hostOffset" addToLuaPath