#!/bin/bash # Copyright (C) 2007 Michael Homer <=mwh> # Distributed under the GNU GPL version 3 or later, # and without warranty of any kind. . GoboPath [[ "$1" != "--no-fetch" ]] && UpdateRecipes for x in $goboPrefix/Files/Compile/LocalRecipes/* do p=`basename $x` l=$(GuessLatest `ls $x`) [[ -e /Files/Compile/Recipes/$p ]] || { echo "No recipe for $p present" continue } s=$(GuessLatest $(ls $goboPrefix/Files/Compile/Recipes/$p)) n=`GuessLatest $l $s` [[ ($n == $l) && ($s != $l) ]] && echo "$p $l is newer than $s" done