contrib/builddeb
branchstable
changeset 28989 a8256e3701be
parent 28988 4f1dac94b53f
child 28990 62c245c59433
equal deleted inserted replaced
28988:4f1dac94b53f 28989:a8256e3701be
    67     cp -r $PWD/contrib/debian debian
    67     cp -r $PWD/contrib/debian debian
    68     chmod -R 0755 debian
    68     chmod -R 0755 debian
    69 
    69 
    70     sed -i.tmp "s/__VERSION__/$debver/" $changelog
    70     sed -i.tmp "s/__VERSION__/$debver/" $changelog
    71     sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog
    71     sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog
       
    72     sed -i.tmp "s/__CODENAME__/$CODENAME/" $changelog
    72     rm $changelog.tmp
    73     rm $changelog.tmp
    73 
    74 
    74     debuild -us -uc -b
    75     debuild -us -uc -b
    75     if [ $? != 0 ]; then
    76     if [ $? != 0 ]; then
    76         echo 'debuild failed!'
    77         echo 'debuild failed!'