diff options
| author | Enrico Tassi | 2019-12-11 17:24:15 +0000 |
|---|---|---|
| committer | GitHub | 2019-12-11 17:24:15 +0000 |
| commit | 03b768d706def7097fc4ad2e72338f7733d51c84 (patch) | |
| tree | 5acc46d5f8c6f1a069d9276f2054b0c85dee2bb9 /etc/utils | |
| parent | bb8f291fc40668f987c8ea5cf3941980342e46b2 (diff) | |
| parent | 0cfd17ed2c13ef8e88384b0135501f159d49bb90 (diff) | |
Merge pull request #445 from ybertot/opam-packages
take advantage of opam variables and their default values
Diffstat (limited to 'etc/utils')
| -rwxr-xr-x | etc/utils/packager | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/utils/packager b/etc/utils/packager index 408172c..9a83647 100755 --- a/etc/utils/packager +++ b/etc/utils/packager @@ -72,8 +72,7 @@ do pkgdir="$PKGPREFIX/coq-mathcomp-$pkg/coq-mathcomp-$pkg.$VERSION" if [ $VERSION == "dev" ] then cp $GITROOT/coq-mathcomp-$pkg.opam $pkgdir/opam else git show "$BRANCH:coq-mathcomp-$pkg.opam" > $pkgdir/opam - sed -r "/^version/s?dev?$VERSION?" -i $pkgdir/opam - sed -r "/^depends.*coq-mathcomp.*/s?dev?$VERSION?" -i $pkgdir/opam + sed -r "/^version/d" -i $pkgdir/opam fi echo "" >> $pkgdir/opam echo "url {" >> $pkgdir/opam |
