mirror of
https://github.com/frej/fast-export.git
synced 2026-03-06 02:00:43 +01:00
Fix ROOT if hg-fast-export is in PATH
dirname $0 will return "." if hg-fast-export is in the path. Use "type -p" to find the full path to the script.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) 2007, 2008 Rocco Rutte <pdmef@gmx.net> and others.
|
||||
# License: MIT <http://www.opensource.org/licenses/mit-license.php>
|
||||
|
||||
ROOT="`dirname "$0"`"
|
||||
ROOT="`dirname "$(type -p $0)"`"
|
||||
REPO=""
|
||||
PFX="hg2git"
|
||||
SFX_MAPPING="mapping"
|
||||
|
||||
Reference in New Issue
Block a user