diff options
author | June McEnroe <june@causal.agency> | 2019-07-27 17:00:47 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-07-27 17:00:47 -0400 |
commit | 76c6a9b42a3604d30911c96d5ce4ae3c9be4de97 (patch) | |
tree | a923f81ad039cdacc7b1e29153a5a27ae2d30868 /etc/tf/link.sh | |
parent | Add c11.pdf (diff) | |
download | src-76c6a9b42a3604d30911c96d5ce4ae3c9be4de97.tar.gz src-76c6a9b42a3604d30911c96d5ce4ae3c9be4de97.zip |
Shell script style pass
Diffstat (limited to '')
-rwxr-xr-x | etc/tf/link.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/tf/link.sh b/etc/tf/link.sh index 2c75d075..03bd25e5 100755 --- a/etc/tf/link.sh +++ b/etc/tf/link.sh @@ -1,7 +1,7 @@ #!/bin/sh -set -e -u +set -eu -tf="$HOME/Library/Application Support/Steam/steamapps/common/Team Fortress 2/tf" +tf="${HOME}/Library/Application Support/Steam/steamapps/common/Team Fortress 2/tf" for cfg in cfg/*.cfg; do - ln -s -f "$PWD/$cfg" "$tf/$cfg" + ln -fs "${PWD}/${cfg}" "${tf}/${cfg}" done |