Magellan Linux

Diff of /trunk/mage/usr/lib/mage/mage4.functions.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1437 by niro, Fri May 27 19:48:35 2011 UTC revision 1438 by niro, Mon Jul 25 12:05:37 2011 UTC
# Line 1365  syncmage() Line 1365  syncmage()
1365   done   done
1366    
1367   # clean up backup files (foo~)   # clean up backup files (foo~)
1368   find ${MAGEDIR} -name *~ -exec rm '{}' ';'   find ${MAGEDIR} -name \*~ -exec rm '{}' ';'
1369    
1370   # check if a newer mage version is available   # check if a newer mage version is available
1371   is_newer_mage_version_available   is_newer_mage_version_available
# Line 1575  get_highest_magefile() Line 1575  get_highest_magefile()
1575   local magefile   local magefile
1576    
1577   # do not list the content of a directory, only the name (-d)   # do not list the content of a directory, only the name (-d)
1578   for magefile in $(ls --format=single-column -v -d ${MAGEDIR}/${PCAT}/${PNAME}/*)   for magefile in $(ls --format=single-column -v -d ${MAGEDIR}/${PCAT}/${PNAME}/* 2> /dev/null)
1579   do   do
1580   [[ -z ${magefile} ]] && continue   [[ -z ${magefile} ]] && continue
1581   # we exclude subdirs (for stuff like a md5sum dir)   # we exclude subdirs (for stuff like a md5sum dir)

Legend:
Removed from v.1437  
changed lines
  Added in v.1438