blob: 9cdd8c126e523738d5e3df89bd500752a4cdc5cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
Description: Use scripts installed to /usr/share instead of /usr/bin
Author: Andrey Rahmatullin <wrar@wrar.name>
Forwarded: not-needed
Last-Update: 2011-02-23
diff --git a/hg-fast-export.sh b/hg-fast-export.sh
index a2ef9ea..5211ffe 100755
--- a/hg-fast-export.sh
+++ b/hg-fast-export.sh
@@ -3,7 +3,7 @@
set -o pipefail
fi
-ROOT="`dirname $0`"
+ROOT="/usr/share/hg-fast-export"
REPO=""
PFX="hg2git"
SFX_MAPPING="mapping"
diff --git a/hg-reset.sh b/hg-reset.sh
index c77c291..868d06f 100755
--- a/hg-reset.sh
+++ b/hg-reset.sh
@@ -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="/usr/share/hg-fast-export"
REPO=""
PFX="hg2git"
SFX_MARKS="marks"
|