summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/buildx.sh
diff options
context:
space:
mode:
authorPhilipp Hahn <hahn@univention.de>2013-01-25 10:05:44 +0100
committerPhilipp Hahn <hahn@univention.de>2013-01-28 11:04:28 +0100
commit0bfb46ebb046d9c808492b86789382e5814849b4 (patch)
tree2f6279620eb1235bd117db29439d6e48b7ada14c /xorg/X11R7.6/buildx.sh
parent73c8a9626ba2b2b8ff20246a336771783c133213 (diff)
downloadxrdp-proprietary-0bfb46ebb046d9c808492b86789382e5814849b4.tar.gz
xrdp-proprietary-0bfb46ebb046d9c808492b86789382e5814849b4.zip
X11rdp: Consistently use $file
Consistently use $file instead of repeating the file name again when downloading external URLs.
Diffstat (limited to 'xorg/X11R7.6/buildx.sh')
-rwxr-xr-xxorg/X11R7.6/buildx.sh24
1 files changed, 12 insertions, 12 deletions
diff --git a/xorg/X11R7.6/buildx.sh b/xorg/X11R7.6/buildx.sh
index 6ba15a2f..57dfd6b0 100755
--- a/xorg/X11R7.6/buildx.sh
+++ b/xorg/X11R7.6/buildx.sh
@@ -51,62 +51,62 @@ download_file()
cd ..
return $status
elif [ "$file" = "freetype-2.4.6.tar.bz2" ]; then
- wget -cq http://download.savannah.gnu.org/releases/freetype/freetype-2.4.6.tar.bz2
+ wget -cq http://download.savannah.gnu.org/releases/freetype/$file
status=$?
cd ..
return $status
elif [ "$file" = "xkeyboard-config-2.0.tar.bz2" ]; then
- wget -cq http://www.x.org/releases/individual/data/xkeyboard-config/xkeyboard-config-2.0.tar.bz2
+ wget -cq http://www.x.org/releases/individual/data/xkeyboard-config/$file
status=$?
cd ..
return $status
elif [ "$file" = "makedepend-1.0.3.tar.bz2" ]; then
- wget -cq http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.3.tar.bz2
+ wget -cq http://xorg.freedesktop.org/releases/individual/util/$file
status=$?
cd ..
return $status
elif [ "$file" = "libxml2-sources-2.7.8.tar.gz" ]; then
- wget -cq ftp://ftp.xmlsoft.org/libxml2/libxml2-sources-2.7.8.tar.gz
+ wget -cq ftp://ftp.xmlsoft.org/libxml2/$file
status=$?
cd ..
return $status
elif [ "$file" = "Python-2.5.tar.bz2" ]; then
- wget -cq http://www.python.org/ftp/python/2.5/Python-2.5.tar.bz2
+ wget -cq http://www.python.org/ftp/python/2.5/$file
status=$?
cd ..
return $status
elif [ "$file" = "Python-2.7.tar.bz2" ]; then
- wget -cq http://www.python.org/ftp/python/2.7/Python-2.7.tar.bz2
+ wget -cq http://www.python.org/ftp/python/2.7/$file
status=$?
cd ..
return $status
elif [ "$file" = "expat-2.0.1.tar.gz" ]; then
- wget -cq http://server1.xrdp.org/xrdp/expat-2.0.1.tar.gz
+ wget -cq http://server1.xrdp.org/xrdp/$file
status=$?
cd ..
return $status
elif [ "$file" = "cairo-1.8.8.tar.gz" ]; then
- wget -cq http://server1.xrdp.org/xrdp/cairo-1.8.8.tar.gz
+ wget -cq http://server1.xrdp.org/xrdp/$file
status=$?
cd ..
return $status
elif [ "$file" = "libpng-1.2.46.tar.gz" ]; then
- wget -cq http://server1.xrdp.org/xrdp/libpng-1.2.46.tar.gz
+ wget -cq http://server1.xrdp.org/xrdp/$file
status=$?
cd ..
return $status
elif [ "$file" = "intltool-0.41.1.tar.gz" ]; then
- wget -cq http://launchpad.net/intltool/trunk/0.41.1/+download/intltool-0.41.1.tar.gz
+ wget -cq http://launchpad.net/intltool/trunk/0.41.1/+download/$file
status=$?
cd ..
return $status
elif [ "$file" = "libxslt-1.1.26.tar.gz" ]; then
- wget -cq ftp://xmlsoft.org/libxslt/libxslt-1.1.26.tar.gz
+ wget -cq ftp://xmlsoft.org/libxslt/$file
status=$?
cd ..
return $status
elif [ "$file" = "fontconfig-2.8.0.tar.gz" ]; then
- wget -cq http://server1.xrdp.org/xrdp/fontconfig-2.8.0.tar.gz
+ wget -cq http://server1.xrdp.org/xrdp/$file
status=$?
cd ..
return $status