From Marco Jez, added -ne option echo usage to fix stdout/stderr redirection

error under Mingw.
This commit is contained in:
Robert Osfield 2005-04-28 05:08:02 +00:00
parent 968f54b5db
commit fd7f9d30be

View File

@ -53,7 +53,7 @@ else
#4) strip the absolute path prefix of SRCDIR leading to the current #4) strip the absolute path prefix of SRCDIR leading to the current
## directory, so we are left with the relative path from the current ## directory, so we are left with the relative path from the current
## directory to the link source directory. Prefix that with PFX. ## directory to the link source directory. Prefix that with PFX.
LINK="$PFX"`echo $SRCDIR $ROOTDIR | awk '{ print substr($1,length($2)+2,512) }'`/`basename $LNDEST` LINK="$PFX"`echo -ne $SRCDIR $ROOTDIR | awk '{ print substr($1,length($2)+2,512) }'`/`basename $LNDEST`
#5) Create the links by changing to the destination directory, #5) Create the links by changing to the destination directory,
## removing any old versions of the link and creating a new one ## removing any old versions of the link and creating a new one