Browse Source

readline: curl -> termux_download

android-5
Fredrik Fornwall 8 years ago
parent
commit
b67df7238b
  1. 4
      packages/readline/build.sh

4
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
}

Loading…
Cancel
Save