summaryrefslogtreecommitdiff
path: root/THANKS
diff options
context:
space:
mode:
authorAdam Spiers <stow@adamspiers.org>2015-11-11 11:22:05 +0000
committerAdam Spiers <stow@adamspiers.org>2015-11-11 11:28:47 +0000
commitd0f3e5458fd9f93bff68cb2047ad531c7e0e9375 (patch)
tree55614c82ecf5fc94e58cef21de83fd93048cff95 /THANKS
parentb5dbc3b7b4f71a38c927a83cfe598e05190929bd (diff)
downloadstow-d0f3e5458fd9f93bff68cb2047ad531c7e0e9375.tar.gz
Correctly handle empty STOW_DIR (#5, #6)
In shell, a variable is often considered unset even if it is set to the empty string. In other words, STOW_DIR= stow [args] is an idiomatic alternative to writing: unset STOW_DIR stow [args] and it also has the advantage of temporarily "unsetting" STOW_DIR for a single command. Therefore we should treat STOW_DIR being set to the empty string as equivalent to it not being set at all. Thanks to Cuong Manh Le for highlighting this issue! Fixes #6 - https://github.com/aspiers/stow/issues/6 Closes #5 - https://github.com/aspiers/stow/pull/5
Diffstat (limited to 'THANKS')
-rw-r--r--THANKS1
1 files changed, 1 insertions, 0 deletions
diff --git a/THANKS b/THANKS
index 191e0ba..bd3b5a9 100644
--- a/THANKS
+++ b/THANKS
@@ -23,3 +23,4 @@ Christopher Hoobin <christopher.hoobin.edu.au>
Adam Spiers <stow@adamspiers.org>
Stefano Lattarini
Adam Sampson
+Cuong Manh Le