Skip to content

Commit

Permalink
Set revision in drmaa-utils' configure.ac when creating distribution
Browse files Browse the repository at this point in the history
tarballs.
  • Loading branch information
natefoo committed Mar 20, 2019
1 parent 55d7708 commit eafff97
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autodist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ cd /slurm-drmaa
sed -i -E -e 's/^(AC_INIT\(.*)m4_esyscmd_s\([^)]+\)(.*)$/\1'$(eval $(grep '^AC_INIT(' configure.ac | sed -E 's/^AC_INIT\(.*m4_esyscmd_s\(([^)]+).*$/\1/'))'\2/' \
-e 's/^(AC_REVISION\()\[m4_esyscmd_s\([^)]+\)\](.*)$/\1['$(eval $(grep '^AC_REVISION(' configure.ac | sed -E 's/^AC_REVISION\(\[m4_esyscmd_s\(\[([^]]+).*$/\1/'))']\2/' configure.ac
# also for drmaa_utils
cd drmaa_utils
sed -i -E -e 's/^(AC_REVISION\()\[m4_esyscmd_s\([^)]+\)\](.*)$/\1['$(eval $(grep '^AC_REVISION(' configure.ac | sed -E 's/^AC_REVISION\(\[m4_esyscmd_s\(\[([^]]+).*$/\1/'))']\2/' configure.ac
cd ..
./autoclean.sh || true
./autogen.sh
./configure
Expand Down

0 comments on commit eafff97

Please sign in to comment.