~codership/galera/2.x

« back to all changes in this revision

Viewing changes to scripts/mysql/build.sh

  • Committer: Alexey Yurchenko
  • Date: 2013-12-01 16:17:22 UTC
  • mto: This revision was merged to the branch mainline in revision 166.
  • Revision ID: alexey.yurchenko@codership.com-20131201161722-l38hjdrz2ew2wjio
Synced with SVN r3387: small build improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
SCONS="yes"
62
62
JOBS=1
63
63
GCOMM_IMPL=${GCOMM_IMPL:-"galeracomm"}
 
64
SYNC_BEFORE_PACK=${SYNC_BEFORE_PACK:-""}
64
65
 
65
66
OS=$(uname)
66
67
case "$OS" in
668
669
    mv $DIST_DIR $RELEASE_NAME
669
670
 
670
671
    # Hack to avoid 'file changed as we read it'-error
671
 
    sync
672
 
    sleep 1
673
 
 
 
672
    if test -n "$SYNC_BEFORE_PACK"
 
673
    then
 
674
        echo "syncing disks"
 
675
        sync
 
676
        sleep 1
 
677
    fi
674
678
    # Pack the release
675
679
    tar -czf $RELEASE_NAME.tgz $RELEASE_NAME
676
680