This repository was archived by the owner on May 18, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 155155#endif /* #if !defined(MSYS2_AUTOCONF) && (defined(__MINGW32__) || defined(_MSC_VER)) */
156156
157157#ifdef CONFIG_REVISION
158- #define CONFIG_VERSION CONFIG_REVISION
158+ #define CONFIG_VERSION "OpenModelica " CONFIG_REVISION
159159#else
160- #define CONFIG_VERSION "unknown"
160+ #define CONFIG_VERSION "OpenModelica unknown"
161161#endif
162162
163163
Original file line number Diff line number Diff line change @@ -141,12 +141,12 @@ ifeq ($(CONFIG_REVISION),)
141141else # revision is not empty, update it if it changed
142142 @if test -f revision.h; \
143143 then \
144- echo "#define CONFIG_REVISION \"OpenModelica $(CONFIG_REVISION) $(PLATFORM_ARCH)\"" > revision.h.tmp; diff revision.h revision.h.tmp > /dev/null; \
144+ echo "#define CONFIG_REVISION \"$(CONFIG_REVISION) $(PLATFORM_ARCH)\"" > revision.h.tmp; diff revision.h revision.h.tmp > /dev/null; \
145145 if [ $$? -eq 0 ]; then echo No change in revision; rm revision.h.tmp; \
146146 else echo Revision has changed. updating revision.h; \mv revision.h.tmp revision.h; touch Compiler/runtime/omc_config.h; \
147147 fi; \
148148 else \
149- echo "#define CONFIG_REVISION \"OpenModelica $(CONFIG_REVISION) $(PLATFORM_ARCH)\"" > revision.h; echo Retrieved revision number. revision.h was created; \
149+ echo "#define CONFIG_REVISION \"$(CONFIG_REVISION) $(PLATFORM_ARCH)\"" > revision.h; echo Retrieved revision number. revision.h was created; \
150150 fi;
151151endif
152152
You can’t perform that action at this time.
0 commit comments