[Git][cmucl/cmucl][master] 2 commits: Fix #82: Replace bc with expr

Raymond Toy gitlab at common-lisp.net
Wed Mar 25 01:12:40 UTC 2020



Raymond Toy pushed to branch master at cmucl / cmucl


Commits:
9d6febd3 by Raymond Toy at 2020-03-25T01:12:38+00:00
Fix #82: Replace bc with expr

`expr` is more commonly installed than `bc` so reduce the number of
required dependencies and just use `expr`.

- - - - -
911f6abe by Raymond Toy at 2020-03-25T01:12:38+00:00
Merge branch 'rtoy-issue-82-replace-bc' into 'master'

Fix #82: Replace bc with expr

Closes #82

See merge request cmucl/cmucl!50
- - - - -


2 changed files:

- src/general-info/release-21e.md
- src/lisp/GNUmakefile


Changes:

=====================================
src/general-info/release-21e.md
=====================================
@@ -34,6 +34,7 @@ public domain.
     * ~~#79~~ Autoload ASDF when calling `REQUIRE` the first time.  User's no longer have to explicitly load ASDF anymore.
     * ~~#80~~ Use ASDF to load contribs.  cmu-contribs still exists but does nothing.  The contrib names are the same, except it's best to use a keyword instead of a string.  So, `:contrib-demos` instead of `"contrib-demos"`.
     * ~~#81~~ Added contribs from Eric Marsden
+    * ~~#82~~ Replace bc with expr in GNUMakefile
   * Other changes:
   * Improvements to the PCL implementation of CLOS:
   * Changes to building procedure:


=====================================
src/lisp/GNUmakefile
=====================================
@@ -47,7 +47,7 @@ lisp.nm: lisp lisp.a
 	mv ,lisp.nm lisp.nm
 
 version.o : version.c version
-	echo '1 + ' `cat version` | bc > ,version
+	expr 1 + `cat version` > ,version
 	mv ,version version
 	$(CC) ${CFLAGS} $(CPPFLAGS) -DVERSION=`cat version` -c $<
 



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/12b02161853b316d79bb213256739981269478c5...911f6abecdb84ff3776e7c8a6ab08e4b1474203d

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/12b02161853b316d79bb213256739981269478c5...911f6abecdb84ff3776e7c8a6ab08e4b1474203d
You're receiving this email because of your account on gitlab.common-lisp.net.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20200325/07531f09/attachment.htm>


More information about the cmucl-cvs mailing list