diff options
author | David Arnold <dar@xoe.solutions> | 2020-06-17 15:17:12 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-06-17 22:33:10 +0200 |
commit | 21b77f376df9e92be3c1d594e72cbbef03755f66 (patch) | |
tree | c8a6b18652c31f8b472a81c08c0caa86f6098f31 | |
parent | 62e28f6129666ca16badeedf9c2d6488d473a643 (diff) |
grimshot: fix POSIX compliance
source is not POSIX compliant, '.' is.
https://stackoverflow.com/a/11588629
-rwxr-xr-x | contrib/grimshot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/grimshot b/contrib/grimshot index 8fc8741b..4ee8d902 100755 --- a/contrib/grimshot +++ b/contrib/grimshot @@ -14,7 +14,7 @@ getTargetDirectory() { test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs && \ - source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs + . ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs echo ${XDG_SCREENSHOTS_DIR:-${XDG_PICTURES_DIR:-$HOME}} } |