Changeset aa9e3a2


Ignore:
Timestamp:
09/30/09 08:36:06 (10 years ago)
Author:
Paweł Foremski <pjf@…>
Branches:
master
Children:
3baa071
Parents:
b25fc75
Message:

wip

Location:
pkgtools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pkgtools/makepkg

    rb25fc75 raa9e3a2  
    306306                || error "cannot build the pkgver variable (git commit needed?)"
    307307
    308         pkgver=`git describe --all --always $head | sed -re 's/^[^0-9]*//' -e 's/-/_/g' -e 's;/;_;g'`
     308        pkgver=`git describe --always $head | sed -re 's/^[^0-9]*//' -e 's/-/_/g' -e 's;/;_;g'`
    309309        dirty="`git diff-index --name-only --relative $head $gitpaths $gitfiles`"
    310310
  • pkgtools/pkg

    rb25fc75 raa9e3a2  
    215215                line=`egrep -m1 "^$file " ../package-$repo.md5`
    216216                if [ -z "$line" ]; then
    217                         echo "FAILED: file not on list!"; break
     217                        echo "FAILED: file not on list"; break
    218218                fi
    219219
    220220                set -- $line
    221221                if [ "`md5sum $file | cut -b 1-32`" != "$2" ]; then
    222                         echo "ERROR: MD5 check failed!"; break
     222                        echo "ERROR: MD5 check failed"; break
    223223                elif [ "`sha1sum $file | cut -b 1-40`" != "$3" ]; then
    224                         echo "ERROR: SHA1 check failed!"; break
     224                        echo "ERROR: SHA1 check failed"; break
    225225                elif [ "`du -b $file | cut -f1`" != "$4" ]; then
    226                         echo "ERROR: SIZE check failed!"; break
     226                        echo "ERROR: SIZE check failed"; break
    227227                fi
    228228
Note: See TracChangeset for help on using the changeset viewer.