Show More
@@ -67,11 +67,8 b' if [ "$BUILD" ]; then' | |||||
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 | # This looks like sed -i, but sed -i behaves just differently enough |
|
70 | sed -i.tmp "s/__VERSION__/$debver/" $changelog | |
71 | # between BSD and GNU sed that I gave up and did the dumb thing. |
|
71 | sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog | |
72 | sed "s/__VERSION__/$debver/" < $changelog > $changelog.tmp |
|
|||
73 | date=$(date --rfc-2822) |
|
|||
74 | sed "s/__DATE__/$date/" < $changelog.tmp > $changelog |
|
|||
75 | rm $changelog.tmp |
|
72 | rm $changelog.tmp | |
76 |
|
73 | |||
77 | debuild -us -uc -b |
|
74 | debuild -us -uc -b |
General Comments 0
You need to be logged in to leave comments.
Login now