From a4bf004383c82c8d0c72aac0f1dfb41dab0635b3 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 24580dcd0..db2ea3fd6 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}} }