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.
```
This commit is contained in:
Imran Iqbal 2019-12-27 19:59:32 +00:00
parent 9cc95c0209
commit d538798ee4
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819

View file

@ -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\""