CMUCL commit: src/tools (make-main-dist.sh)

Raymond Toy rtoy at common-lisp.net
Sat Jul 31 02:20:20 CEST 2010


    Date: Friday, July 30, 2010 @ 20:20:20
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/tools

Modified: make-main-dist.sh

Only install the cmucl linker script if it exists.


-------------------+
 make-main-dist.sh |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


Index: src/tools/make-main-dist.sh
diff -u src/tools/make-main-dist.sh:1.23 src/tools/make-main-dist.sh:1.24
--- src/tools/make-main-dist.sh:1.23	Fri Jul 30 18:51:58 2010
+++ src/tools/make-main-dist.sh	Fri Jul 30 20:20:20 2010
@@ -98,8 +98,9 @@
     install ${GROUP} ${OWNER} -m 0755 $TARGET/lisp/lisp.a $DESTDIR/lib/cmucl/lib/
     install ${GROUP} ${OWNER} -m 0755 src/tools/linker.sh $DESTDIR/lib/cmucl/lib/
     install ${GROUP} ${OWNER} -m 0755 src/tools/linker-x86.sh $DESTDIR/lib/cmucl/lib/
-    install ${GROUP} ${OWNER} -m 0755 src/tools/linker-darwin.sh $DESTDIR/lib/cmucl/lib/
-    install ${GROUP} ${OWNER} -m 0755 src/tools/$SCRIPT-cmucl-linker-script $DESTDIR/lib/cmucl/lib/
+    if [ -f src/tools/$SCRIPT-cmucl-linker-script ]; then
+	install ${GROUP} ${OWNER} -m 0755 src/tools/$SCRIPT-cmucl-linker-script $DESTDIR/lib/cmucl/lib/
+    fi
 fi
 for corefile in $TARGET/lisp/$CORE
 do



More information about the cmucl-commit mailing list