[Coco] nitros9 daily clean build script for Gene
Gene Heskett
gheskett at wdtv.com
Wed Oct 22 19:06:43 EDT 2014
On Wednesday 22 October 2014 16:37:09 Tormod Volden did opine
And Gene did reply:
> I suggested this so many times, but here it is on a silver plate, so
> you have no escape :) Untested, so please tell if there is something
> wrong, or if there is any reason you cannot use this.
>
> Tormod
>
>
> #!/bin/sh
> # NitrOS-9 daily clean build script
> # expects an existing repo in a "nitros9" directory
> set -e
> cd nitros9
> if ! hg incoming; then
> echo "No new changes to pull"
> exit 1
> fi
> hg pull
> hg update
> cd ..
========
> BUILD_DIR=nitros9-$(date +%Y-%m-%d-%H-%M)
> hg clone nitros9 $BUILD_DIR
> cd $BUILD_DIR
> make dsk dskcopy
========
> cd ..
>
> #only for Gene:
> chown -R gene:www-data $BUILD_DIR
Whole script fails, no updates so it exits. doing those 4 lines by hand to
make it anyway gets me this:
gene at coyote:/opt/nitros9-2014-10-22-18-46$ sudo make dsk dskcopy
**************************************************
* *
* THE NITROS-9 PROJECT *
* *
**************************************************
make -C /lib && make -C /level1 && make -C /level2 && make -C /level3 &&
make -C /3rdparty && :
make[1]: Entering directory `/lib'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/lib'
make: *** [all] Error 2
I am going to comment the lwtools branch out of my script, which makes it
much like yours, then try yours again, and see if I have any makefiles.
This is frustrating at best.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>
US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS
More information about the Coco
mailing list