X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=scripts%2Fcore%2Fconnect_feisty_meow.sh;h=258656c0e659981be17fb814c96a2853473a7068;hb=744ae2cb1621d4e60a70b2ca3fee65885772f097;hp=6f6ffd3840536016553661e94eb259b9133ac001;hpb=51356b493613a783d95f8ba5f6ef7777c8e50f5a;p=feisty_meow.git diff --git a/scripts/core/connect_feisty_meow.sh b/scripts/core/connect_feisty_meow.sh index 6f6ffd38..258656c0 100644 --- a/scripts/core/connect_feisty_meow.sh +++ b/scripts/core/connect_feisty_meow.sh @@ -1,13 +1,13 @@ -#!/bin/bash +#!/usr/bin/env bash # Author: Chris Koeritz # this script adds the feisty inits code to .bashrc, if we think it has not yet been added. # auto-locate the feisty meow scripts, since they supposedly are not enabled yet. -export WORKDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory. +export THISDIR="$( \cd "$(\dirname "$0")" && \pwd )" # obtain the script's working directory. # normalize the path we want to cobble together. -export FEISTY_MEOW_APEX="$( \cd "$WORKDIR/../.." && \pwd )" +export FEISTY_MEOW_APEX="$( \cd "$THISDIR/../.." && \pwd )" echo calculated apex as $FEISTY_MEOW_APEX