Diff for /freem/scripts/fmd-changelog between versions 1.1 and 1.3

version 1.1, 2025/04/04 18:00:01 version 1.3, 2025/04/07 00:45:52
Line 25 Line 25
 #   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.  #   along with FreeM.  If not, see <https://www.gnu.org/licenses/>.
 #  #
 #   $Log$  #   $Log$
   #   Revision 1.3  2025/04/07 00:45:52  snw
   #   Enhance fmd-pkg-dpkg to auto-generate the debian/changelog file from the FreeM ChangeLog
   #
   #   Revision 1.2  2025/04/06 03:38:05  snw
   #   Prepare for adding packaging functionality to fmd
   #
 #   Revision 1.1  2025/04/04 18:00:01  snw  #   Revision 1.1  2025/04/04 18:00:01  snw
 #   *** empty log message ***  #   *** empty log message ***
 #  #
Line 36 Line 42
 MINIMAL=0  MINIMAL=0
   
 function usage() {  function usage() {
     echo "usage:  fmd changelog [--minimal] <freem-version>"      echo
       echo "Prints a FreeM ChangeLog entry"
       echo
       echo "usage:"
       echo
       echo "  fmd changelog [--minimal] [<freem-version>]"
       echo
       echo "  If the '--minimal' flag is specified, will print only the ChangeLog entries"
       echo "  without the version header."
       echo
       echo "  If <freem-version> is omitted, fmd changelog will assume you want the ChangeLog"
       echo "  for the current version in your copy of the repository."    
       echo 
     exit 1      exit 1
 }  }
   
   if [[ $1 == "help" ]]
   then
       usage
   fi
   
 if [[ $# == 0 ]]  if [[ $# == 0 ]]
 then  then
     echo "changelog:  must be run from 'fmd changelog'"      echo "changelog:  must be run from 'fmd changelog'"
Line 118  do Line 141  do
             else              else
                 if [[ "${LINE:0:1}" == '*' ]]                  if [[ "${LINE:0:1}" == '*' ]]
                 then                  then
                     echo "  ${LINE}"                      OLINE=$(echo "${LINE}" | cut -d\* -f2)
                       echo "${OLINE:1}"
                 fi                  fi
             fi              fi
         fi                  fi        

Removed from v.1.1  
changed lines
  Added in v.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>