Changeset 1975


Ignore:
Timestamp:
Oct 4, 2012, 2:21:02 AM (5 years ago)
Author:
sam
Message:

build: port run-bitten.sh to OS X.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/build/run-bitten.sh

    r1972 r1975  
    11#!/bin/sh
    22
    3 conffile="`mktemp`"
     3conffile="`mktemp 2>/dev/null`"
     4if [ "$conffile" = "" ]; then
     5  conffile="`mktemp -q /tmp/lol-bitten-XXXXXX`"
     6fi
    47url="http://lol.zoy.org/builds"
    58
     
    2225
    2326append "[os]"
    24 append "name = `uname -srvmo`"
     27append "name = `uname -srvmo 2>/dev/null || uname -srvm`"
    2528append "version = 0"
    2629family="`uname -s | tr A-Z a-z`"
     
    4043
    4144append "[machine]"
    42 name="`uname -n | tr A-Z a-z`"
     45name="`uname -n | tr A-Z a-z | sed 's/[.].*//'`"
    4346case "$name" in
    4447  d*e*s*o*v*) name="putois" ;;
Note: See TracChangeset for help on using the changeset viewer.