diff options
author | Theodore Ts'o <tytso@mit.edu> | 2016-03-15 01:10:29 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2016-03-15 01:24:44 -0400 |
commit | 2ab53829a2198af3f6f99bd01b953bf47a11b5b9 (patch) | |
tree | ea16f10fa93ff0786b93e1eba41808beada8efed /configure.ac | |
parent | 9dd404897d5f3100ed0234d39ea99f8860c1d0a1 (diff) | |
download | android_external_e2fsprogs-2ab53829a2198af3f6f99bd01b953bf47a11b5b9.tar.gz android_external_e2fsprogs-2ab53829a2198af3f6f99bd01b953bf47a11b5b9.tar.bz2 android_external_e2fsprogs-2ab53829a2198af3f6f99bd01b953bf47a11b5b9.zip |
configure.ac: fix up Debian naming scheme for its orig.tar.gz file
We are using a new convention for the 1.43-WIP releases which should
be less confusion by replacing the hyphens by periods (e.g.,
1.43~WIP.2016.03.06 instead of 1.43~WIP-2016-03-06). This avoids
confusion regarding the debian release number (which uses the last
hyphen in the version string to separate the upstream version from the
release number).
Also fix a typo in the version number used in the debian changelog and
e2fslibs.symbols file.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index c1fe224c..ceceeb6a 100644 --- a/configure.ac +++ b/configure.ac @@ -13,7 +13,7 @@ E2FSPROGS_VERSION=`grep E2FSPROGS_VERSION ${srcdir}/version.h \ | awk '{print $3}' | tr \" " " | awk '{print $1}'` DATE=`grep E2FSPROGS_DATE ${srcdir}/version.h | awk '{print $3}' \ | tr \" " "` -E2FSPROGS_DAY=`echo $DATE | awk -F- '{print $1}'` +E2FSPROGS_DAY=$(echo $DATE | awk -F- '{print $1}' | sed -e '/^[[1-9]]$/s/^/0/') MONTH=`echo $DATE | awk -F- '{print $2}'` YEAR=`echo $DATE | awk -F- '{print $3}'` @@ -48,7 +48,7 @@ date_spec=${E2FSPROGS_YEAR}.${MONTH_NUM}.${E2FSPROGS_DAY} case $E2FSPROGS_VERSION in *-WIP|pre-*) - E2FSPROGS_PKGVER="$base_ver~WIP-$E2FSPROGS_YEAR-$MONTH_NUM-$E2FSPROGS_DAY" + E2FSPROGS_PKGVER="$base_ver~WIP.$date_spec" ;; *) E2FSPROGS_PKGVER="$base_ver" |