Skip to content

Commit d32480b

Browse files
committed
Add gitPullOrClone "$md_build"
Removed downloadAndExtract and replaced with gitPullOrClone "$md_build" "https://bitbucket.org/ecwolf/ecwolf".
1 parent 4b7c2a7 commit d32480b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scriptmodules/ports/ecwolf.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,22 @@ function depends_ecwolf() {
2121
}
2222

2323
function sources_ecwolf() {
24-
downloadAndExtract "https://bitbucket.org/ecwolf/ecwolf/get/5065aaefe055.zip" .
25-
mv ecwolf-ecwolf-5065aaefe055 ecwolf
24+
gitPullOrClone "$md_build" "https://bitbucket.org/ecwolf/ecwolf"
2625
}
2726

2827
function build_ecwolf() {
29-
cd ecwolf
28+
cd "$md_build"
3029
wget -N -q https://raw.githubusercontent.com/tpo1990/ECWolf-RPI/master/ecwolf_keyboardpatch.diff
3130
applyPatch ecwolf_keyboardpatch.diff
3231
cmake . -DCMAKE_BUILD_TYPE=Release -DGPL=ON
3332
make
33+
md_ret_require="$md_build"
3434
}
3535

3636
function install_ecwolf() {
3737
md_ret_files=(
38-
'ecwolf/ecwolf'
39-
'ecwolf/ecwolf.pk3'
38+
'ecwolf'
39+
'ecwolf.pk3'
4040
)
4141
}
4242

0 commit comments

Comments
 (0)