#!/bin/bash # Lockin new version of binutils source `which ttPM-funcs` 2>/dev/null || exit 1 if [ $# -ne 1 ] then printMsg warning "Usage: `basename $0` 1|2" error "Enter lockin stage" fi touch ~/.Loggedin M=`gcc -dumpmachine` case $1 in 1|2) cp -v $TT_BOOTSTRAP_PREFIX/bin/ld-new $TT_BOOTSTRAP_PREFIX/bin/ld ;; *) error "Usage: `basename $0` 1|2" ;; esac # Create the log for the current version #$BASH logInstalledFiles lockinBinutils-$1