From 21b77f376df9e92be3c1d594e72cbbef03755f66 Mon Sep 17 00:00:00 2001 From: David Arnold Date: Wed, 17 Jun 2020 15:17:12 -0500 Subject: [PATCH] grimshot: fix POSIX compliance source is not POSIX compliant, '.' is. https://stackoverflow.com/a/11588629 --- contrib/grimshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/grimshot b/contrib/grimshot index 8fc8741b3..4ee8d902c 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}} }