From 591b4c1bae2112e904c445b26898adfcafa03387 Mon Sep 17 00:00:00 2001 From: Gus Rivera Date: Tue, 5 Nov 2024 14:34:13 -0600 Subject: [PATCH] Fixing some typos in mac install script --- build.assets/macos/install | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build.assets/macos/install b/build.assets/macos/install index 30feb333f706f..d97ed78c7d8f3 100755 --- a/build.assets/macos/install +++ b/build.assets/macos/install @@ -40,9 +40,9 @@ cp -rf tctl.app/ "$APPS_DIR"/tctl.app/ || exit 1 # If tsh exists and is not a link, make a backup. -if [ -f "$BINDIR/tsh" ] && [ ! -L "$BIN/tsh" ]; then +if [ -f "$BINDIR/tsh" ] && [ ! -L "$BINDIR/tsh" ]; then rm -f "$BINDIR/tsh.bak" -mv "$BINDIR/tsh" "$BIN/tsh.bak" +mv "$BINDIR/tsh" "$BINDIR/tsh.bak" fi # Link package to $BINDIR. @@ -50,14 +50,14 @@ rm -f "$BINDIR/tsh" # in case link exists ln -s "$APPS_DIR/tsh.app/Contents/MacOS/tsh" "$BINDIR/tsh" # If tctl exists and is not a link, make a backup. -if [ -f "$BINDIR/tctl" ] && [ ! -L "$BIN/tctl" ]; then +if [ -f "$BINDIR/tctl" ] && [ ! -L "$BINDIR/tctl" ]; then rm -f "$BINDIR/tctl.bak" -mv "$BINDIR/tctl" "$BIN/tctl.bak" +mv "$BINDIR/tctl" "$BINDIR/tctl.bak" fi # Link package to $BINDIR. rm -f "$BINDIR/tctl" # in case link exists -ln -s "$APPSDIR/tctl.app/Contents/MacOS/tctl" "$BINDIR/tctl" +ln -s "$APPS_DIR/tctl.app/Contents/MacOS/tctl" "$BINDIR/tctl" echo "Teleport binaries have been copied to $BINDIR"