Commits

Erik Southworth  committed a8e9e37

fixed syntax error with Bash 4 & here-docs

  • Participants
  • Parent commits 0cb5343
  • Tags 42

Comments (0)

Files changed (4)

-Changes in *:
+Changes in 42:
+  o Code Changes:
+    * Fixed: syntax error with Bash 4 and here-documents. (fatal)
   o Doc Changes:
     * install-hl2mp.rst: Half-Life 2: Deathmatch is now on OB engine.
 

File doc/source/install-steam-boiler.rst

 2. Download Steam-Boiler and unpack the tarball. The **current** release
 distribution archive is: steam-boiler-|version|.tar.bz2.
 
-    * $ wget http://bitbucket.org/superstition/steam-boiler/downloads/steam-boiler-40.1.tar.bz2
+    * $ wget http://bitbucket.org/superstition/steam-boiler/downloads/steam-boiler-42.tar.bz2
     * $ tar -xvf steam-boiler-|version|.tar.bz2
 
 .. code-block:: none
 
-    [steam-boiler]$ wget http://bitbucket.org/superstition/steam-boiler/downloads/steam-boiler-40.1.tar.bz2
+    [steam-boiler]$ wget http://bitbucket.org/superstition/steam-boiler/downloads/steam-boiler-42.tar.bz2
     --23:00:58--  steam-boiler-|version|.tar.bz2
-               => `steam-boiler-40.1.tar.bz2'
+               => `steam-boiler-42.tar.bz2'
     Resolving bitbucket.org... 184.73.244.143
     Connecting to bitbucket.org|184.73.244.143|:80... connected.
     HTTP request sent, awaiting response... 302 FOUND
-    Location: http://cdn.bitbucket.org/superstition/steam-boiler/downloads/steam-boiler-40.1.tar.bz2 [following]
-    --23:00:58--  http://cdn.bitbucket.org/superstition/steam-boiler/downloads/steam-boiler-40.1.tar.bz2
-               => `steam-boiler-40.1.tar.bz2'
+    Location: http://cdn.bitbucket.org/superstition/steam-boiler/downloads/steam-boiler-42.tar.bz2 [following]
+    --23:00:58--  http://cdn.bitbucket.org/superstition/steam-boiler/downloads/steam-boiler-42.tar.bz2
+               => `steam-boiler-42.tar.bz2'
     Resolving cdn.bitbucket.org... 216.137.59.5, 216.137.59.30, 216.137.59.32, ...
     Connecting to cdn.bitbucket.org|216.137.59.5|:80... connected.
     HTTP request sent, awaiting response... 200 OK
 
     100%[================================================================>] 2,134,171     83.74K/s    ETA 00:00
 
-    23:01:30 (66.71 KB/s) - `steam-boiler-40.1.tar.bz2' saved [2134171/2134171]
+    23:01:30 (66.71 KB/s) - `steam-boiler-42.tar.bz2' saved [2134171/2134171]
 
-    [steam-boiler]$ tar -xvf steam-boiler-40.1.tar.bz2
-    steam-boiler-40.1/
-    steam-boiler-40.1/doc/
-    steam-boiler-40.1/doc/html/
+    [steam-boiler]$ tar -xvf steam-boiler-42.tar.bz2
+    steam-boiler-42/
+    steam-boiler-42/doc/
+    steam-boiler-42/doc/html/
     ...
-    steam-boiler-40.1/hldsupdatetool/hldsupdatetool
-    steam-boiler-40.1/wscript
-    steam-boiler-40.1/THANKS
+    steam-boiler-42/hldsupdatetool/hldsupdatetool
+    steam-boiler-42/wscript
+    steam-boiler-42/THANKS
     [steam-boiler]$
 
 3. Change directory to where the distribution software was unpacked,
 
 .. code-block:: none
 
-    [steam-boiler]$ cd steam-boiler-40.1
-    [steam-boiler-40.1]$ ./configure
-    Checking for WAF			     : /home/user/Source/steam-boiler/steam-boiler-40.1/waf
+    [steam-boiler]$ cd steam-boiler-42
+    [steam-boiler-42]$ ./configure
+    Checking for WAF			     : /home/user/Source/steam-boiler/steam-boiler-42/waf
     Checking for program find                : /usr/bin/find
     Checking for program getopt              : /usr/bin/getopt
     Checking for program install             : /usr/bin/install
     Checking for program ln                  : /bin/ln
     'configure' finished successfully (0.013s)
-    [steam-boiler-40.1]$ make
-    Waf: Entering directory `/home/user/Source/steam-boiler/steam-boiler-40.1/build'
+    [steam-boiler-42]$ make
+    Waf: Entering directory `/home/user/Source/steam-boiler/steam-boiler-42/build'
     [1/2] copy: src/boiler.in -> build/default/src/boiler
     [2/2] true: src/steam.6 src/boiler.6
-    Waf: Leaving directory `/home/user/Source/steam-boiler/steam-boiler-40.1/build'
+    Waf: Leaving directory `/home/user/Source/steam-boiler/steam-boiler-42/build'
     'build' finished successfully (0.049s)
-    [steam-boiler-40.1]$ sudo make install
-    /home/user/Source/steam-boiler/steam-boiler-40.1/waf install
-    Waf: Entering directory `/home/user/Source/steam-boiler/steam-boiler-40.1/build'
+    [steam-boiler-42]$ sudo make install
+    /home/user/Source/steam-boiler/steam-boiler-42/waf install
+    Waf: Entering directory `/home/user/Source/steam-boiler/steam-boiler-42/build'
     * installing hldsupdatetool/hldsupdatetool as /usr/local/share/steam-boiler/hldsupdatetool
     * installing build/default/src/boiler as /usr/local/bin/boiler
     * symlink /usr/local/bin/steam (-> boiler)
     * installing src/steam.6 as /usr/local/share/man/man6/steam.6
     * installing src/boiler.6 as /usr/local/share/man/man6/boiler.6
-    Waf: Leaving directory `/home/user/Source/steam-boiler/steam-boiler-40.1/build'
+    Waf: Leaving directory `/home/user/Source/steam-boiler/steam-boiler-42/build'
     'install' finished successfully (0.148s)
-    [steam-boiler-40.1]$
+    [steam-boiler-42]$
 
 .. hint::
 

File src/boiler.in

 Half-Life Dedicated Server Update Tool (${NAME})
 
 Usage:
-  ${BIN} <command> [game] [dir] [options])
+  ${BIN} <command> [game] [dir] [options]
+EOT
+)
 
 	usage_main=$(cat << EOT
   -c, --command=CMD, CMD
           list              show available games
 
   -g, --game=NAME, NAME     name of game (use --command=list to see available games)
-  -d, --dir=PATH, PATH      path to install directory (default=last-run-path))
+  -d, --dir=PATH, PATH      path to install directory (default=last-run-path)
+EOT
+)
 
  	usage_verify=$(cat << EOT
-  --verify_all          verifies all files are up to date (over-write control))
+  --verify_all          verifies all files are up to date (over-write control)
+EOT
+)
 
  	usage_retry=$(cat << EOT
-  --retry               retry every 30sec if Steam Network is busy)
+  --retry               retry every 30sec if Steam Network is busy
+EOT
+)
 
 	usage_user=$(cat << EOT
-  --username=USERNAME   steam account username (only needed to access limited content))
+  --username=USERNAME   steam account username (only needed to access limited content)
+EOT
+)
 
   	usage_pass=$(cat << EOT
-  --password=PASSWORD   steam account password (only needed to access limited content))
+  --password=PASSWORD   steam account password (only needed to access limited content)
+EOT
+)
 
   	usage_remem=$(cat << EOT
-  --remember_password   remember password (if a username is supplied))
+  --remember_password   remember password (if a username is supplied)
+EOT
+)
 
 	other_options=$(cat << EOT
   -h, --help, help          display usage guide
   -b, --beta=NAME           name of beta update
   -i, --info                beta help information
   -m, --manual              output manual text
-  -v, --verbose             verbose operation)
+  -v, --verbose             verbose operation
+EOT
+)
 
 	# policy: acceptable options
 	_short_opts=c:g:d:hVwb:imv
 APPNAME = 'steam-boiler'
 
 NAME = 'Steam Boiler'
-VERSION = '40.1'
+VERSION = '42'
 BUGREPORT = 'http://bitbucket.org/superstition/steam-boiler/issues/'
 HOMEPAGE = 'http://bitbucket.org/superstition/steam-boiler/wiki/'
 RELEASE = '2009,2010'
-REVISION = '21 August 2010'
+REVISION = '05 December 2010'
 
 top = '.'
 out = 'build'