Permalink
Browse files

build: Illegal char '-' in: 'Version: 0.13.0-pre1'

  • Loading branch information...
1 parent 961059a commit 2a88453aaa4e8292f3f15f2bf8fe86ac999437f3 @viktorTarasov viktorTarasov committed Sep 16, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 bootstrap
  2. +1 −1 configure.ac
View
@@ -9,7 +9,7 @@ rm -rf *~ *.cache *.m4 config.guess config.log config.status config.sub depcomp
if test ! -z "$1"; then
cp configure.ac configure.ac.orig
- sed 's/^define(\[PACKAGE_SUFFIX\],\s*\[\(-[0-9a-zA-Z]*\)\])$/define(\[PACKAGE_SUFFIX\], \['$1'\])/g' configure.ac.orig > configure.ac
+ sed 's/^define(\[PACKAGE_SUFFIX\],\s*\[\([-~]*[0-9a-zA-Z]*\)\])$/define(\[PACKAGE_SUFFIX\], \['$1'\])/g' configure.ac.orig > configure.ac
fi
autoreconf --verbose --install --force
View
@@ -5,7 +5,7 @@ AC_PREREQ(2.60)
define([PACKAGE_VERSION_MAJOR], [0])
define([PACKAGE_VERSION_MINOR], [13])
define([PACKAGE_VERSION_FIX], [0])
-define([PACKAGE_SUFFIX], [-pre1])
+define([PACKAGE_SUFFIX], [pre1])
AC_INIT([opensc],[PACKAGE_VERSION_MAJOR.PACKAGE_VERSION_MINOR.PACKAGE_VERSION_FIX[]PACKAGE_SUFFIX])
AC_CONFIG_AUX_DIR([.])

0 comments on commit 2a88453

Please sign in to comment.