mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 21:44:16 +00:00
Fix extra ../ in figurig out GIT_DIR in build script
This commit is contained in:
parent
47993b48b6
commit
798ad363ba
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
# See https://stackoverflow.com/a/43919044/17027 (public domain)
|
||||
a="/$0"; a="${a%/*}"; a="${a:-.}"; a="${a#/}/"; BASEDIR=$(cd "$a"; pwd)
|
||||
# Find the fish git directory as two levels up from this directory.
|
||||
GIT_DIR=$(dirname $(dirname "$a"))
|
||||
GIT_DIR=$(dirname "$a")
|
||||
|
||||
FBVF=FISH-BUILD-VERSION-FILE
|
||||
DEF_VER=unknown
|
||||
|
|
Loading…
Reference in a new issue