summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-07-27 17:00:47 -0400
committerJune McEnroe <june@causal.agency>2019-07-27 17:00:47 -0400
commita90eeec85067b6d0a19c9be69530eebed886da86 (patch)
tree154de9e0c023c5294fb8d79bf755d5715e55ce5a /etc
parentAdd c11.pdf (diff)
downloadsrc-a90eeec85067b6d0a19c9be69530eebed886da86.tar.gz
src-a90eeec85067b6d0a19c9be69530eebed886da86.zip
Shell script style pass
Diffstat (limited to '')
-rwxr-xr-xetc/tf/link.sh6
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