From 51f58d7c4c984ec8ccc5ab0a3d31d04cd39d499c Mon Sep 17 00:00:00 2001 From: Einhard Leichtfuß Date: Thu, 4 Apr 2019 00:29:44 +0200 Subject: Fix bug: empty string considered as $PWD Before, if the program was run with only a source argument, that has no destination associated (e.g. in the configuration file), the destination was accepted as the empty string, which translated to the local directory (due to relative adressing). This was due to the shell option nullglob, which now is unset in any situations where `test -v' is used, which currently is only the case in get_args. It is `test -v' that failed to recognize an undefined variable. --- TODO | 3 --- 1 file changed, 3 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 9198ac4..caa934b 100644 --- a/TODO +++ b/TODO @@ -1,7 +1,4 @@ # -- BUGS -- # -- $1 == /path/, where /path is configured behaves strangely. - `- $1 == /path is fine. - `- A backup is created in $PWD/ # -- TODO -- # - For ssh, set up one single connection (maybe configurable?). -- cgit v1.2.3