"Fossies" - the Fresh Open Source Software Archive

Member "gfsview-snapshot-121130/debian/changelog.sh" (30 Nov 2012, 496 Bytes) of package /linux/privat/gfsview-snapshot-121130.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 version=$(date +%Y%m%d)
    2 date=$(date +"%a, %e %b %Y %T %z")
    3 
    4 cat <<EOF > debian/changelog
    5 gfsview-snapshot ($version) jaunty; urgency=low
    6 
    7 EOF
    8 
    9 if test -z $1; then
   10     cat <<EOF >> debian/changelog
   11   * gfsview-snapshot release
   12 
   13 EOF
   14 else
   15     if html2text < $1 | \
   16        grep -v "^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\} " | \
   17        sed 's/^\([^ ]\{1,\}\)/  \1/g'>> debian/changelog; then :
   18     else
   19     exit 1
   20     fi
   21 fi
   22 
   23 cat <<EOF >> debian/changelog
   24  -- Stephane Popinet <popinet@users.sf.net>  $date
   25 EOF