From b32b4877bc67054b97cb95b0da06d4b80e680603 Mon Sep 17 00:00:00 2001 From: ewilly Date: Tue, 22 Feb 2022 08:07:45 +0100 Subject: [PATCH] Fix myynh_compile_libffi --- scripts/_common.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 24debdc..8d05e0e 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -44,12 +44,8 @@ myynh_create_dir () { myynh_compile_libffi () { ynh_print_info --message="Building libffi..." - # Create a temp direcotry - tmpdir="$(mktemp --directory)" - cd "$tmpdir" - # Download - wget "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" + wget "https://github.com/libffi/libffi/releases/download/v3.3/libffi-3.3.tar.gz" 2>&1 # Extract tar zxf libffi-3.3.tar.gz