From e5fa8d4f16b7abd7c6d293f0ac739376114aaab4 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 16 Dec 2014 20:11:29 +0100 Subject: lua53: remove target directory when initiating build --- lua5.3/PKGBUILD | 1 + 1 file changed, 1 insertion(+) (limited to 'lua5.3/PKGBUILD') diff --git a/lua5.3/PKGBUILD b/lua5.3/PKGBUILD index 738de63..6970df7 100644 --- a/lua5.3/PKGBUILD +++ b/lua5.3/PKGBUILD @@ -31,6 +31,7 @@ sha512sums=('508e36b905e756550182e16b9acad0c74e8b82e172f09ff4043246698d3372bd73e build() { declare -r dstdir="lua-${pkgver/_/-}" + rm -rf -- "${dstdir}" mv "${dstdir%%-rc1}" "${dstdir}" cd "${dstdir}" patch -p1 -i "${srcdir}/liblua.so.patch" -- cgit v1.2.3