From 144c8d06b589d2323cdd9516b09dbdfff31f24fb Mon Sep 17 00:00:00 2001 From: Yair Chuchem Date: Sun, 31 Oct 2021 16:38:22 +0200 Subject: [PATCH] Use curl instead of wget (#2) --- prepare_submodule.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/prepare_submodule.sh b/prepare_submodule.sh index 49c5f5e..f50937b 100644 --- a/prepare_submodule.sh +++ b/prepare_submodule.sh @@ -8,9 +8,9 @@ then exit 0 fi -wget https://github.com/lamdu/freetype-gl/archive/d5bc473468422f2cc536bab6e6a87a9aabb7ea07.tar.gz -tar xvzf d5bc473468422f2cc536bab6e6a87a9aabb7ea07.tar.gz +curl -L https://github.com/lamdu/freetype-gl/archive/d5bc473468422f2cc536bab6e6a87a9aabb7ea07.tar.gz > freetype-gl-submodule.tar.gz +tar xvzf freetype-gl-submodule.tar.gz mkdir -p freetype-gl mv freetype-gl-d5bc473468422f2cc536bab6e6a87a9aabb7ea07/* freetype-gl/ -rm d5bc473468422f2cc536bab6e6a87a9aabb7ea07.tar.gz +rm freetype-gl-submodule.tar.gz rm -r freetype-gl-d5bc473468422f2cc536bab6e6a87a9aabb7ea07