LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Blogs > Musings on technology, philosophy, and life in the corporate world
User Name
Password

Notices


Hi. I'm a Unix Administrator, mathematics enthusiast, and amateur philosopher. This is where I rant about that which upsets me, laugh about that which amuses me, and jabber about that which holds my interest most: Unix.
Old

Automated OpenBSD-STABLE build

Posted 10-08-2012 at 04:54 PM by rocket357 (Musings on technology, philosophy, and life in the corporate world)
Updated 10-08-2012 at 05:14 PM by rocket357 (refactoring?)

It's ugly. But it works.

Code:
#!/bin/sh

set -e

export LOGFILE=/var/log/build_stable.log
export ARCH=`machine`

# DEFAULT: BUILD -STABLE (UPGRADE TO LATEST -RELEASE FIRST!!)
export BUILDVER=OPENBSD_`uname -r | tr '.' '_'`

cat > ${LOGFILE} << EOF


STABLE BUILD - `date` - `uname -a`


EOF

echo "Updating Sources for ${BUILDVER}"
...
Member
Posted in Uncategorized
Views 452 Comments 0 rocket357 is offline

  



All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration