contrib/builddeb
branchstable
changeset 29046 6b95a623ec90
parent 29045 52f71214efce
child 29093 c4f0e764b231
equal deleted inserted replaced
29045:52f71214efce 29046:6b95a623ec90
    68         echo "Error! debian control directory already exists!"
    68         echo "Error! debian control directory already exists!"
    69         exit 1
    69         exit 1
    70     fi
    70     fi
    71 
    71 
    72     cp -r $PWD/contrib/debian debian
    72     cp -r $PWD/contrib/debian debian
    73     chmod -R 0755 debian
       
    74 
    73 
    75     sed -i.tmp "s/__VERSION__/$debver/" $changelog
    74     sed -i.tmp "s/__VERSION__/$debver/" $changelog
    76     sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog
    75     sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog
    77     sed -i.tmp "s/__CODENAME__/$CODENAME/" $changelog
    76     sed -i.tmp "s/__CODENAME__/$CODENAME/" $changelog
    78     rm $changelog.tmp
    77     rm $changelog.tmp