summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@suse.cz>2010-11-27 00:23:55 +0100
committerJan Holesovsky <kendy@suse.cz>2010-11-27 00:23:55 +0100
commite41d072e6a95b912c5c55855e7bab5f8744bda7b (patch)
tree8edde7e1da81da594e64083a8e8ddd1f44b19fbc
parent40dce2b681387f27e24c735ac1d5e37e2fdb710d (diff)
download: Fix minor typos to make it work on Windows.feature/rip-build-repo
-rwxr-xr-xdownload4
-rw-r--r--post_download.in3
2 files changed, 3 insertions, 4 deletions
diff --git a/download b/download
index 8c3ba737e..5482ac9f9 100755
--- a/download
+++ b/download
@@ -30,7 +30,7 @@ if [ ! -d clone ] ; then
./g clone
fi
if [ -z "$TARFILE_LOCATION" ]; then
- . ./*.Set.sh
+ . ./*[Ee]nv.[Ss]et.sh
fi
if [ ! -d "$TARFILE_LOCATION" ]; then
@@ -156,7 +156,7 @@ done
rm $TARFILE_LOCATION/tmp/*-*
cd $start_dir
-if [ -e post_download ] ;
+if [ -e post_download ] ; then
./post_download
fi
diff --git a/post_download.in b/post_download.in
index 674d6b10e..b17f39527 100644
--- a/post_download.in
+++ b/post_download.in
@@ -10,8 +10,7 @@ echo "********************************************************************"
dnl ===================================================================
dnl The following is a list of supported systems.
dnl ===================================================================
-#defaults unless the os test overrides this:
-
+AC_CANONICAL_SYSTEM
case "$build_os" in
solaris*)
_os=SunOS