Commits

Erik Southworth  committed 80625ce Draft

nits

  • Participants
  • Parent commits 3bb956f

Comments (0)

Files changed (2)

File src/boiler.in

 	    -m|--manual) manual;;
 	    -v|--verbose) opt_is_verbose=1; shift;;
 	    -n|--noionice) opt_is_noionice=1; shift;;
-	    -i|--interactive) steam_cmd;;
+	    -i|--interactive) steam_console;;
 	       --) shift; break;;
 	    *) echo "internal error: uncaught option \`${1}'" >/dev/stderr; exit 2;;
 	    esac
 	# parse positional arguments
 	if test $# -gt 0; then
 	    case "${1}" in
-	    console) steam_cmd;;
+	    console) steam_console;;
 	    help) opt_is_help=1; shift;;
 	    wipe)
 		cmd+=("-wipe"); opt_is_wipe=1;
 }
 
 # call steam console
-steam_cmd()
+steam_console()
 {
-	_check_steamcmd_install
+	_check_steam_console_install
 
 	# retry N times if there is an update/failure
 	i=0; iter=3
 }
 
 # steam console installation
-_check_steamcmd_install()
+_check_steam_console_install()
 {
 	# sanity check, steamcmd executable?
 	if ! test -x "${CONSOLEBIN}"; then
 	ctx.env['PKGDATADIR'] = ctx.env['DATADIR'] + '/' + APPNAME
 
 def build(ctx):
-	ctx.recurse(['hldsupdatetool', 'src', 'steamcmd'])
+	ctx.recurse(['console', 'hldsupdatetool', 'src'])
 
 	# build requirements
 	if ctx.env['MAINTAINER']:
 
 def dist_hook():
 	# pkg steamcmd(console)
-	dir = os.path.join(os.pardir, out, '../steamcmd/')
+	dir = os.path.join(os.pardir, out, '../console/')
 	for file in ['steamcmd.tar.gz']:
-		shutil.copy2(dir+file, 'steamcmd')
+		shutil.copy2(dir+file, 'console')
 
 	# pkg steam(hldsupdatetool)
 	dir = os.path.join(os.pardir, out, 'default/hldsupdatetool/')