From 2188b00f4aec0a7138c227c09b9bed0b988e7fea Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Thu, 6 Nov 2014 12:02:06 +0000 Subject: [PATCH] build_style/fetch: non-global vars --- common/build_style/fetch.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/build_style/fetch.sh b/common/build_style/fetch.sh index 66e75bf3e8..e765b0ecbd 100644 --- a/common/build_style/fetch.sh +++ b/common/build_style/fetch.sh @@ -1,6 +1,8 @@ # fetch build_style: fetches and copies files to ${wrksrc}. do_extract() { + local f curfile + mkdir -p ${wrksrc} for f in ${distfiles}; do curfile=$(basename "${f#*>}")