From 76c6a9b42a3604d30911c96d5ce4ae3c9be4de97 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 27 Jul 2019 17:00:47 -0400 Subject: Shell script style pass --- etc/tf/link.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc') 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 -- cgit 1.4.1