tCleanup source dir before extraction - mkports - recipes for building multiple softwares with mk(1)
(HTM) git clone git://z3bra.org/mkports
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 7eb26674dfbe84d1df1360c10b09eb79af9359b5
(DIR) parent 428b81253a3d07b7c00cb2cab0161eb36e4e5a3d
(HTM) Author: root <root@doom.z3bra.org>
Date: Wed, 24 May 2017 22:48:32 +0000
Cleanup source dir before extraction
Diffstat:
M default.mk | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) diff --git a/default.mk b/default.mk
t@@ -66,6 +66,7 @@ fetch-git:QV:
fetch-archive:QV: $WORK/$archive
if [ -n "$url" ]; then
cd $WORK
+ rm -rf $pkg-$ver
case $archive in
*.tar.bz2|*.tbz) method="-j" ;;
*.tar.gz|*.tgz) method="-z" ;;