mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-12 14:51:16 -03:00
Fix extra ../ in figurig out GIT_DIR in build script
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user