PageRenderTime 6ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/firmware/motherboard_upload_daily.sh

http://github.com/makerbot/G3Firmware
Shell | 9 lines | 8 code | 0 blank | 1 comment | 1 complexity | bb2f5d1b18d93842c80aea19c0023957 MD5 | raw file
1#!/bin/bash
2if [ $# -lt 1 ]
3then
4  echo "Usage: `basename $0` port=PORTNAME [platform=PLATFORM]"
5  echo "(Valid platforms are rrmbv12, mb24)"
6  exit 1
7fi
8scons -c -f SConstruct
9BUILD_NAME=\\\"`date '+%Y%m%d'`\ `git show-ref --hash=20 HEAD`\\\" scons -f SConstruct $@ upload