Skip to content

Commit d538798

Browse files
committed
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. ```
1 parent 9cc95c0 commit d538798

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

postgres/templates/mac_shortcut.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
#!/usr/bin/env bash
22

3-
shortcutName='${1}'
3+
shortcutName="${1}"
44
app="postgres.app"
55
Source="/Applications/$app"
66
Destination="{{ homes }}/{{ user }}/Desktop/${shortcutName}"
77
/usr/bin/osascript -e "tell application \"Finder\" to make alias file to POSIX file \"$Source\" at POSIX file \"$Destination\""
8-

0 commit comments

Comments
 (0)