#!/bin/bash # Build all versions automatically (Only standard installations are done). source `which ttPM-funcs` 2>/dev/null || exit 1 # If AutoBuild file exists, execute it since it may contain info on installing older versions if [ -e $TT_PKG_DATA_DIR/AutoBuild ] then . $TT_PKG_DATA_DIR/AutoBuild || exit 1 fi if [ -e $TT_PKG_LOCAL_DATA_DIR/AutoBuild ] then . $TT_PKG_LOCAL_DATA_DIR/AutoBuild || exit 1 fi for BUILD in $(ls $TT_PKG_DATA_DIR/*.build 2>/dev/null) do PKG=`basename $BUILD \.build` if [ -e $TT_PKG_LOCAL_DATA_DIR/$PKG-standard.version ] then VER=`cat $TT_PKG_LOCAL_DATA_DIR/$PKG-standard.version` if [ ! -z "$VER" ] then buildPkg -i $PKG $VER || exit 1 fi fi done