Commit graph

23 commits

Author SHA1 Message Date
Luís Borges de Oliveira 53b92ac8d7 Handle x:/y/z/run-sbcl.sh and x:\y\z\run-sbcl.sh
In which case "cd ./x:/y/z/run-sbcl.sh" wouldn't work.
2021-06-19 19:21:06 +03:00
Richard M Kreuter faee46f776 Tweak run-sbcl.sh for Solaris's /bin/sh. 2021-05-30 13:46:27 -04:00
Richard M Kreuter c7d14e20f8 Cleanup 546416b34d and add a test for what it addressed.
546416b34d added some unnecessary (but harmless) quoting and left an
unused variable in run-sbcl.sh.
2021-05-03 10:23:25 -04:00
Richard M Kreuter 546416b34d Fixup pathname quoting in run-sbcl.sh. 2021-05-02 16:38:01 -04:00
Richard M Kreuter 57b39145d7 Support building & testing in a tree whose leaves are symlinks. 2021-05-02 14:28:34 -04:00
Richard M Kreuter 4a30189fbc Ensure SBCL_HOME gets set to an absolute pathname in run-sbcl.sh.
When invoked by a relative pathname to a non-symlink, or through a
sequence of symlinks the last of which has a relative target,
SBCL_HOME got set to a relative pathname, which makes
MODULE-PROVIDE-CONTRIB sensitive to *DEFAULT-PATHNAME-DEFAULTS*.
2021-04-30 07:22:55 -04:00
Douglas Katzman 0f6d4b0d0e Use $SHELL to fix some Solaris tests
The syntax "export TEST_BASEDIR=thing" does not work with /bin/sh, and
the syntax "X=y exec myprog" is valid but does not expose X to the child
unless first exported. It's a wonder anyone can run SBCL on Solaris.
2020-06-02 12:05:30 -04:00
Stas Boukarev c1bd559a69 Don't print (running SBCL from: .) from run-sbcl.sh 2018-05-02 01:56:05 +03:00
Paul Khuong 6574cbfa9d Tail call (exec) at the end of run-sbcl.sh
exec-ing into the runtime executable doesn't hurt and helps rlwrap.

Suggested by William Cushing (lp#1249183).
2013-11-14 14:30:13 -05:00
Christophe Rhodes 9d5be5e953 fix symlink handling (generally and on OS X) in run-sbcl.sh
Patch from Stelian Ionescu, lp#1242643
2013-10-21 12:41:35 +01:00
Francois-Rene Rideau 25c1769e30 Deliver each contrib as a single FASL. Don't implicitly require ASDF or source code at runtime.
Also, move contrib output to obj/sbcl-home/, asdf cache to obj/asdf-cache/
Update sb-grovel and other contribs and their tests for asdf3.

Fixes lp#1132254.
2013-10-17 03:10:58 +02:00
David Lichteblau 109e6fe061 Make run-sbcl.sh executable 2012-06-18 15:36:48 +02:00
Nikodemus Siivola 704eaa8013 1.0.43.79: run-sbcl.sh: print run location to stderr instead of stdout
Allows using run-sbcl.sh for jobs requiring a clean stdout.
2010-10-20 14:32:14 +00:00
Nikodemus Siivola 0d67e11363 1.0.43.13: "minor fixed for Win32" from Kalyanov Dmitry
* fix run-sbcl.sh for cygwin: need to convert the path.

 * fix contrib building for cygwin with GCC 4.x installed: require GCC
   3.x since GCC 4.x apparently doesn't do -mno-cygwin.

 * PeekConsoleInput's third argument is the number of array in elements,
   not bytes. http://msdn.microsoft.com/en-us/library/ms684344%28VS.85%29.aspx
   Old usage led to stack overwriting.
2010-09-30 08:43:55 +00:00
Nikodemus Siivola 26d0559df8 1.0.42.7: fix shell scripts on Solaris (and FreeBSD?)
* Patch by Josh Elsasser, lp#615497.

 * Fixes for run-sbcl.sh and tests/subr.sh on Solaris, some of which I
   believe were also necessary on FreeBSD.

 * A missing #include needed on Solaris is also added.
2010-08-31 12:46:41 +00:00
Nikodemus Siivola 99af56524d 1.0.41.48: make run-sbcl.sh work on Darwin (and presumably other BSD-clones)
* BSD readlink doesn't support -f, fall back on dirname if readlink
   didn't work.
2010-08-17 11:35:24 +00:00
Alastair Bridgewater 9c66b18385 1.0.39.23: Fix run-sbcl.sh to use absolute paths when necessary.
* The new ASDF 2 requires absolute paths in places where SBCL
historically used relative paths.  The last(?) remaining place
where this happens is the SBCL_HOME environment variable set up
by run-sbcl.sh.  Fixed by introducing a readlink -f to generate
an absolute path to the base SBCL directory.
2010-06-27 19:41:07 +00:00
Nikodemus Siivola 0cfd289365 1.0.36.39: report location correctly in run-sbcl.sh
* Thanks to Attila Lendvai for noticing. In despite the freeze.
2010-03-25 12:24:39 +00:00
Nikodemus Siivola bfd759c5fb 1.0.31.10: run-sbcl.sh to support --core
Thanks to Attila Lendvai.
2009-09-15 20:23:40 +00:00
Gabor Melis f86c1ec4e8 1.0.22.1: run-sbcl.sh improvements
- make run-sbcl.sh executable
- don't require it to be started from the top of the source dir

... so that "~/sbcl/run-sbcl.sh" is a drop in replacement for "sbcl".
2008-10-31 09:56:15 +00:00
Nikodemus Siivola 2a03fda829 1.0.21.7: fix argument quoting in run-sbcl.sh
* Now things like

      sh run-sbcl.sh --eval '(load "foo.lisp")'

   should work correctly.
2008-10-06 09:16:47 +00:00
Nikodemus Siivola 9d3a46ea08 1.0.13.32: fix run-sbcl.sh when sh != bash in disguise
...2008! Shell portability issues! AAARGH!

 (Ok, slightly embarrassed as well.)
2008-01-15 02:29:50 +00:00
Nikodemus Siivola e9d20dbcc5 1.0.13.29: run-sbcl.sh script
* I'm tired of typing the mantra, and it's probably good to make
   it easy for users too to run SBCL before installation.

 * Add to binary tarball, and mention in INSTALL.
2008-01-14 12:05:32 +00:00