We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b810c10 commit 68b9b4eCopy full SHA for 68b9b4e
MasterPassword/C/build
@@ -42,14 +42,14 @@ fetchSource() (
42
if [[ $git ]] && hash git 2>/dev/null; then
43
echo
44
echo "Fetching: ${PWD##*/}, using git..."
45
- git-svn clone --prefix=origin/ --stdlayout "$svn" .
+ git clone "$svn" .
46
printf '%s' "$(git describe --always)" > "${PWD##*/}-version"
47
return
48
49
- elif [[ $svn ]] && hash git-svn 2>/dev/null; then
+ elif [[ $svn ]] && hash git 2>/dev/null && hash "$(git --exec-path)/git-svn" 2>/dev/null; then
50
51
echo "Fetching: ${PWD##*/}, using git-svn..."
52
+ git svn clone --prefix=origin/ --stdlayout "$svn" .
53
54
55
0 commit comments