Add local keyword to variable
authorHugo Villeneuve <hugo@hugovil.com>
Fri, 28 Nov 2014 06:26:33 +0000 (01:26 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Fri, 5 Dec 2014 04:44:18 +0000 (23:44 -0500)
functions/fpkg

index eedc14d..9563456 100644 (file)
@@ -90,6 +90,7 @@ wget_wrapper()
     local URL=${1}
     local SOURCE=${2}
     local DESTDIR=${LFS_PKG_DIR}
+    local wget_status
 
     if [ ${#} -eq 3 ]; then
         DESTDIR=${3}