source: orange/install-scripts/mac/dailyrun-bundleonly-hg.sh @ 10345:938207a1d05f

Revision 10345:938207a1d05f, 788 bytes checked in by Ales Erjavec <ales.erjavec@…>, 2 years ago (diff)

Added $HOME/bin to bundle dailyrun scripts.

Line 
1#!/bin/bash
2#
3# Should be run as: sudo ./dailyrun-bundleonly-hg.sh
4#
5
6export PATH=$HOME/bin:$PATH
7
8MAC_VERSION=`sw_vers -productVersion | cut -d '.' -f 2`
9
10defaults write com.apple.desktopservices DSDontWriteNetworkStores true
11
12/Users/ailabc/mount-dirs.sh || { echo "Mounting failed." ; exit 1 ; }
13
14/Users/ailabc/bundle-daily-build-hg.sh /private/tmp &> /private/tmp/bundle-daily-build-hg.log
15EXIT_VALUE=$?
16
17/Users/ailabc/mount-dirs.sh || { echo "Mounting failed." ; exit 1 ; }
18
19LOG_FILE="/Volumes/download/buildLogs/osx/bundle-$MAC_VERSION-daily-build-hg.log"
20
21echo "Orange (bundle $MAC_VERSION) [$EXIT_VALUE]" > $LOG_FILE
22date >> $LOG_FILE
23cat /private/tmp/bundle-daily-build-hg.log >> $LOG_FILE
24(($EXIT_VALUE)) && echo "Running bundle-daily-build-hg.sh failed"
25
26# Zero exit value
27true
Note: See TracBrowser for help on using the repository browser.