summaryrefslogtreecommitdiffstats
path: root/xorg
diff options
context:
space:
mode:
authorPhilipp Hahn <hahn@univention.de>2013-01-25 10:40:20 +0100
committerPhilipp Hahn <hahn@univention.de>2013-01-28 11:04:29 +0100
commit4163fd8d38312520a5466bd74473058cd5b7223b (patch)
treec17d5b4f4d55c86e9454fd570fe82647e9914563 /xorg
parentf2b7aafb4e1550d50135196c64523dcbdaf97b07 (diff)
downloadxrdp-proprietary-4163fd8d38312520a5466bd74473058cd5b7223b.tar.gz
xrdp-proprietary-4163fd8d38312520a5466bd74473058cd5b7223b.zip
X11rdp: make variables function local
Use local to declare variables local
Diffstat (limited to 'xorg')
-rwxr-xr-xxorg/X11R7.6/buildx.sh3
1 files changed, 3 insertions, 0 deletions
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