summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/q
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2016-08-04 21:38:20 +0200
committerlassulus <lass@aidsballs.de>2016-08-04 21:38:20 +0200
commit37d53d7b2578106b3d2c53650bfad0e9d5489fbd (patch)
treee3c61342a43abc82ab00cc35eee591dc98ef69e6 /tv/5pkgs/q
parent6696a9f09846adcc059a29566c949afc518b7574 (diff)
parent048986e09bfe9195ccd434c4c143d374db5488d2 (diff)
Merge remote-tracking branch 'cd/master'
Diffstat (limited to 'tv/5pkgs/q')
-rw-r--r--tv/5pkgs/q/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tv/5pkgs/q/default.nix b/tv/5pkgs/q/default.nix
index eeb600300..b19402fa4 100644
--- a/tv/5pkgs/q/default.nix
+++ b/tv/5pkgs/q/default.nix
@@ -190,4 +190,7 @@ pkgs.writeBashBin "q" ''
(${q-thermal_zone}) &
wait
${q-todo}
+ if [ "$PWD" != "$HOME" ]; then
+ (HOME=$PWD; ${q-todo})
+ fi
''