On Sun, 23 Mar 2008 08:57:07 +0100, <[EMAIL PROTECTED]> wrote: > Author: mwh > Date: 2008-03-23 00:57:06 -0700 (Sun, 23 Mar 2008) > New Revision: 3027 > > Modified: > trunk/Scripts/Functions/GoboLinux > trunk/Scripts/bin/SymlinkProgram > Log: > Give a list of available versions with errors in SP, and add supporting code > in Functions. Partial fix to #234. > > Modified: trunk/Scripts/Functions/GoboLinux > =================================================================== > --- trunk/Scripts/Functions/GoboLinux 2008-03-23 06:32:18 UTC (rev 3026) > +++ trunk/Scripts/Functions/GoboLinux 2008-03-23 07:57:06 UTC (rev 3027) > @@ -725,3 +725,14 @@ > -e "s,${programpath}/Resources/Tasks/\(.*\),${goboLinks}/Tasks/\1,g" \ > -e > "s,${programpath}/Resources/Environment/\(.*\),${goboLinks}/Environment/\1,g" > } > + > +function Installed_Versions() { > + for entry in $goboPrograms/$1/* > + do > + entry=`basename "$entry"` > + if [ "$entry" != "Settings" -a "$entry" != "Current" -a "$entry" != > "Variable" ] > + then > + echo $entry > + fi > + done | xargs GuessLatest -l > +} > This function already exists in Functions/Versions and is called All_Versions
-- /Jonas Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel