From 4163fd8d38312520a5466bd74473058cd5b7223b Mon Sep 17 00:00:00 2001 From: Philipp Hahn Date: Fri, 25 Jan 2013 10:40:20 +0100 Subject: [PATCH] X11rdp: make variables function local Use local to declare variables local --- xorg/X11R7.6/buildx.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xorg/X11R7.6/buildx.sh b/xorg/X11R7.6/buildx.sh index 8ef2458d..95623257 100755 --- a/xorg/X11R7.6/buildx.sh +++ b/xorg/X11R7.6/buildx.sh @@ -77,6 +77,7 @@ download_file() remove_modules() { + local mod_file mod_dir mod_args if [ -d cookies ]; then rm cookies/* fi @@ -102,6 +103,7 @@ remove_modules() extract_it() { + local mod_file mod_name mod_args comp mod_file=$1 mod_name=$2 mod_args=$3 @@ -158,6 +160,7 @@ extract_it() make_it() { + local mod_file mod_name mod_args mod_file=$1 mod_name=$2 mod_args=$3