From: <ssk...@vh...> - 2006-03-24 18:42:39
|
Author: sskracic Date: 2006-03-24 19:41:09 +0100 (Fri, 24 Mar 2006) New Revision: 1103 Modified: trunk/tools/misc/build-all.sh Log: coreutils in FC5 seem to be more rigid in parsing the command line arguments. Modified: trunk/tools/misc/build-all.sh =================================================================== --- trunk/tools/misc/build-all.sh 2006-03-16 13:29:08 UTC (rev 1102) +++ trunk/tools/misc/build-all.sh 2006-03-24 18:41:09 UTC (rev 1103) @@ -148,7 +148,7 @@ case $app_relation in eq) match=$(echo "$output" | grep -F -x "$app_version") ;; le|lt) match=$(echo "$sortedoutput" | grep -B1 -F -x "$app_tagged_version" | head --lines=-1) ;; - ge|gt) match=$(echo "$sortedoutput" | grep -A1 -F -x "$app_tagged_version" | tail +2) ;; + ge|gt) match=$(echo "$sortedoutput" | grep -A1 -F -x "$app_tagged_version" | tail --lines=+2) ;; esac if [ "$(echo "$match" | sed 's/ //g')" = "" ] |