```bash
In postgres/templates/mac_shortcut.sh line 3:
shortcutName='${1}'
^----^ SC2016: Expressions don't expand in single quotes, use double quotes for that.
```
8 lines
277 B
Bash
Executable File
8 lines
277 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
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\""
|