CMUCL commit: src/tools (linker.sh)

Raymond Toy rtoy at common-lisp.net
Wed Jul 28 03:21:31 CEST 2010


    Date: Tuesday, July 27, 2010 @ 21:21:31
  Author: rtoy
    Path: /project/cmucl/cvsroot/src/tools

Modified: linker.sh

Need to strip off any directory from the path to get the output file
name because we cd to the directory already.


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


Index: src/tools/linker.sh
diff -u src/tools/linker.sh:1.11 src/tools/linker.sh:1.12
--- src/tools/linker.sh:1.11	Mon Jul 26 23:21:40 2010
+++ src/tools/linker.sh	Tue Jul 27 21:21:31 2010
@@ -1,6 +1,6 @@
 #!/bin/sh -x
 
-# $Id: linker.sh,v 1.11 2010-07-27 03:21:40 rtoy Exp $
+# $Id: linker.sh,v 1.12 2010-07-28 01:21:31 rtoy Exp $
 
 # This file was written by Fred Gilham and is placed in the public domain.
 # It comes without warranty of any kind.
@@ -50,8 +50,9 @@
 VER=''
 
 # Default values
-OUTPUT="-o $3"
 OUTDIR=`dirname $3`
+OUTNAME=`basename $3`
+OUTPUT="-o $OUTNAME"
 CURDIR=`pwd`
 
 LINKER=/usr/bin/ld



More information about the cmucl-commit mailing list