mirror of
https://github.com/frej/fast-export.git
synced 2026-03-02 16:20:43 +01:00
Do not rely on "type -p"
Apparently dash (used as bin/sh on Ubuntu) does not support type -p. Thanks to Esben Madsen for noticing and suggesting a fix.
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 "$(type -p $0)"`"
|
||||
ROOT="$(dirname "$(which "$0")")"
|
||||
REPO=""
|
||||
PFX="hg2git"
|
||||
SFX_MAPPING="mapping"
|
||||
|
||||
Reference in New Issue
Block a user