Skip to content
Snippets Groups Projects
Commit 7b90b522 authored by rtoy's avatar rtoy
Browse files

Need to strip off any directory from the path to get the output file

name because we cd to the directory already.
parent 6f05927d
No related branches found
No related tags found
No related merge requests found
#!/bin/sh -x #!/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. # This file was written by Fred Gilham and is placed in the public domain.
# It comes without warranty of any kind. # It comes without warranty of any kind.
...@@ -50,8 +50,9 @@ OPSYS=`uname` ...@@ -50,8 +50,9 @@ OPSYS=`uname`
VER='' VER=''
# Default values # Default values
OUTPUT="-o $3"
OUTDIR=`dirname $3` OUTDIR=`dirname $3`
OUTNAME=`basename $3`
OUTPUT="-o $OUTNAME"
CURDIR=`pwd` CURDIR=`pwd`
LINKER=/usr/bin/ld LINKER=/usr/bin/ld
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment