termux_extract_src_archive: create srcdir before extracting tar

This commit is contained in:
Henrik Grimler 2020-07-21 14:12:51 +02:00
parent 4d3a2243a4
commit f6792915d1

View File

@ -15,6 +15,7 @@ termux_extract_src_archive() {
mv $folder "$TERMUX_PKG_SRCDIR"
else
test "$i" -gt 0 && STRIP=0
mkdir -p "$TERMUX_PKG_SRCDIR"
tar xf "$file" -C "$TERMUX_PKG_SRCDIR" --strip-components=$STRIP
fi
set -o pipefail