Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@users.sourceforge.net>2013-01-08 21:26:12 +0400
committerXhmikosR <xhmikosr@users.sourceforge.net>2013-01-08 21:26:41 +0400
commit44c588672a7ad46039894c94f110a6e5a22f14ca (patch)
tree558352eb944b62b4d0dbdbb43ec55b55f169a5d8 /contrib
parentfc2cfb2c3b6d11b03d4e35dd2068cd21e8c54407 (diff)
fix hash2rev.sh and rev2hash.sh after their move in contrib/
Diffstat (limited to 'contrib')
-rw-r--r--contrib/hash2rev.sh2
-rw-r--r--contrib/rev2hash.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/hash2rev.sh b/contrib/hash2rev.sh
index 4bc02cc3f..e1c22a6e3 100644
--- a/contrib/hash2rev.sh
+++ b/contrib/hash2rev.sh
@@ -22,7 +22,7 @@
svnrev=5597
svnhash="f669833b77e6515dc5f0a682c5bf665f9a81b2ec"
-if [[ ! -d ".git" ]] || ! command -v git >/dev/null 2>&1 ; then
+if [[ ! -d "../.git" ]] || ! command -v git >/dev/null 2>&1 ; then
# If the folder ".git" doesn't exist or git isn't available exit the script
exit 1
fi
diff --git a/contrib/rev2hash.sh b/contrib/rev2hash.sh
index 837bc4259..1ef6ca6f8 100644
--- a/contrib/rev2hash.sh
+++ b/contrib/rev2hash.sh
@@ -22,7 +22,7 @@
svnrev=5597
svnhash="f669833b77e6515dc5f0a682c5bf665f9a81b2ec"
-if [[ ! -d ".git" ]] || ! command -v git >/dev/null 2>&1 ; then
+if [[ ! -d "../.git" ]] || ! command -v git >/dev/null 2>&1 ; then
# If the folder ".git" doesn't exist or git isn't available exit the script
exit
fi