Skip to content

Commit

Permalink
Automatic version smudging: Use @@WOEUSB_VERSION@@ instead
Browse files Browse the repository at this point in the history
Signed-off-by: 林博仁 <Buo.Ren.Lin@gmail.com>
  • Loading branch information
brlin-tw committed Jun 13, 2017
1 parent 9ed8d9e commit 468a784
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT(woeusb, @@WINUSB_VERSION@@)
AC_INIT(woeusb, @@WOEUSB_VERSION@@)
AC_CONFIG_SRCDIR([src])
AM_INIT_AUTOMAKE
AC_CONFIG_MACRO_DIR([m4])
Expand Down
2 changes: 1 addition & 1 deletion filters/clean-version.bash
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ init(){
fi

sed\
's/[0-9]*\.[0-9]*\.[0-9]*[^)]*/@@WINUSB_VERSION@@/'
's/[0-9]*\.[0-9]*\.[0-9]*[^)]*/@@WOEUSB_VERSION@@/'
exit 0
}; declare -fr init

Expand Down
2 changes: 1 addition & 1 deletion filters/smudge-version.bash
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ init(){
"${version}"\
1>&2

sed "s/@@WINUSB_VERSION@@/${version/#v/}/"
sed "s/@@WOEUSB_VERSION@@/${version/#v/}/"

printf "DEBUG: %s is done\n"\
"${RUNTIME_EXECUTABLE_NAME}"\
Expand Down

0 comments on commit 468a784

Please sign in to comment.