From b67df7238b7a11524b5ba4df0bac5626c12ff7a9 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Wed, 11 Jan 2017 02:11:14 -0500 Subject: [PATCH] readline: curl -> termux_download --- packages/readline/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/readline/build.sh b/packages/readline/build.sh index 89a060989..07e38de79 100755 --- a/packages/readline/build.sh +++ b/packages/readline/build.sh @@ -13,7 +13,9 @@ termux_step_pre_configure () { cd $TERMUX_PKG_SRCDIR for patch_number in `seq -f '%03g' ${_PATCH_VERSION}`; do PATCHFILE=$TERMUX_PKG_CACHEDIR/readline_patch_${patch_number}.patch - test ! -f $PATCHFILE && curl "https://mirrors.kernel.org/gnu/readline/readline-7.0-patches/readline70-$patch_number" > $PATCHFILE + test ! -f $PATCHFILE && termux_download \ + "https://mirrors.kernel.org/gnu/readline/readline-7.0-patches/readline70-$patch_number" \ + $PATCHFILE patch -p0 -i $PATCHFILE done }