From 38fadbf29e8d7c07030e45c97fd9ee47e1b35938 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 17 Aug 2016 23:24:09 +0200 Subject: .appdata.sh: bugfix --- .appdata/appdata.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.appdata') diff --git a/.appdata/appdata.sh b/.appdata/appdata.sh index 58cc7da..582af9a 100644 --- a/.appdata/appdata.sh +++ b/.appdata/appdata.sh @@ -39,7 +39,7 @@ symlink_sublime_preferences() ( set -o errexit -o nounset -o pipefail symlink_preferences \ - "$HOME/.appdata/Sublime Text 3" \ + "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/Sublime Text 3" \ "$APPDATA/Sublime Text 3/Packages/User" ) @@ -47,6 +47,6 @@ symlink_ghc_preferences() ( set -o errexit -o nounset -o pipefail symlink_preferences \ - "$HOME/.appdata/ghc" \ + "$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )/ghc" \ "$APPDATA/ghc" ) -- cgit v1.2.3