rpms/sbcl/devel sbcl.sh,1.1,1.2

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Sep 12 12:39:40 UTC 2005


Author: rdieter

Update of /cvs/extras/rpms/sbcl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23609

Modified Files:
	sbcl.sh 
Log Message:
BCL_SETARCH -> SBCL_SETARCH (typo)
support global /etc/sysconfig/sbcl config



Index: sbcl.sh
===================================================================
RCS file: /cvs/extras/rpms/sbcl/devel/sbcl.sh,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sbcl.sh	12 Sep 2005 12:36:44 -0000	1.1
+++ sbcl.sh	12 Sep 2005 12:39:38 -0000	1.2
@@ -1,12 +1,17 @@
 #!/bin/sh
 
+# Source global config, if it exists
+if [ -f /etc/sysconfig/sbcl ]; then
+  source /etc/sysconfig/sbcl
+fi
+
 if [ -z "$SBCL_HOME" ] ; then
 SBCL_HOME=/usr/lib/sbcl
 export SBCL_HOME
 fi
 
 if [ -z "$SBCL_SETARCH" ] ; then
-BCL_SETARCH="setarch i386 -R"
+SBCL_SETARCH="setarch i386 -R"
 fi
 
 exec ${SBCL_SETARCH} ${SBCL_HOME}/sbcl ${1+"$@"}




More information about the fedora-extras-commits mailing list