mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-10 23:01:45 +00:00
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:
parent
9cc95c0209
commit
d538798ee4
1 changed files with 1 additions and 2 deletions
|
@ -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\""
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue