From d538798ee4423ecb72b29bd39e4f35437412ce43 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Fri, 27 Dec 2019 19:59:32 +0000 Subject: [PATCH] fix(mac_shortcut.sh): fix `shellcheck` error ```bash In postgres/templates/mac_shortcut.sh line 3: shortcutName='${1}' ^----^ SC2016: Expressions don't expand in single quotes, use double quotes for that. ``` --- postgres/templates/mac_shortcut.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/postgres/templates/mac_shortcut.sh b/postgres/templates/mac_shortcut.sh index 4f560bf4..c9c61873 100755 --- a/postgres/templates/mac_shortcut.sh +++ b/postgres/templates/mac_shortcut.sh @@ -1,8 +1,7 @@ #!/usr/bin/env bash -shortcutName='${1}' +shortcutName="${1}" app="postgres.app" Source="/Applications/$app" Destination="{{ homes }}/{{ user }}/Desktop/${shortcutName}" /usr/bin/osascript -e "tell application \"Finder\" to make alias file to POSIX file \"$Source\" at POSIX file \"$Destination\"" -