/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
- #!/bin/bash
- if [ $# -lt 1 ]
- then
- echo "Usage: `basename $0` port=PORTNAME [platform=PLATFORM]"
- echo "(Valid platforms are rrmbv12, mb24)"
- exit 1
- fi
- scons -c -f SConstruct
- BUILD_NAME=\\\"`date '+%Y%m%d'`\ `git show-ref --hash=20 HEAD`\\\" scons -f SConstruct $@ upload