From 803f492b0ebb2f80dadbc00edd0b2a6a300a123f Mon Sep 17 00:00:00 2001
From: Curtis McEnroe <june@causal.agency>
Date: Sat, 18 Aug 2018 16:18:16 -0400
Subject: Run tf/cfg link script with /bin/sh

---
 etc/tf/link.sh  | 7 +++++++
 etc/tf/link.zsh | 7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)
 create mode 100755 etc/tf/link.sh
 delete mode 100755 etc/tf/link.zsh

(limited to 'etc')

diff --git a/etc/tf/link.sh b/etc/tf/link.sh
new file mode 100755
index 00000000..2c75d075
--- /dev/null
+++ b/etc/tf/link.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+set -e -u
+
+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"
+done
diff --git a/etc/tf/link.zsh b/etc/tf/link.zsh
deleted file mode 100755
index 7753517e..00000000
--- a/etc/tf/link.zsh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/usr/bin/env zsh
-set -o errexit -o nounset
-
-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"
-done
-- 
cgit 1.4.1