From a2ef9cdcc544afcd2989ec4b369ff1d26f2ee0d6 Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Wed, 24 Nov 2010 09:22:40 +0100 Subject: [PATCH] STYLE: drop optional 'ln' option for wmakeLnInclude - not required since the addition of the '-f' option --- wmake/wmakeLnInclude | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/wmake/wmakeLnInclude b/wmake/wmakeLnInclude index b4a59d3dec..c43363339c 100755 --- a/wmake/wmakeLnInclude +++ b/wmake/wmakeLnInclude @@ -28,7 +28,7 @@ # Description # Link all the source files in the directory into /lnInclude # -# Usage: wmakeLnInclude [-f] [-lnOption] +# Usage: wmakeLnInclude [-f] # # The desired source files: # *.C *.H *.h *.cpp *.cxx *.hpp *.hxx @@ -43,13 +43,13 @@ usage() { while [ "$#" -ge 1 ]; do echo "$1"; shift; done cat< [-lnOption] +usage: $Script [-f] Link all the source files in the into /lnInclude Note The '-f' option forces an update when the lnInclude directory already exists - and also changes the default linking from 'ln -s' to 'ln -sf'. + and changes the default linking from 'ln -s' to 'ln -sf'. USAGE exit 1 @@ -89,10 +89,6 @@ done if [ $# -eq 1 ] then baseDir=$1 -elif [ $# -eq 2 ] -then - baseDir=$1 - lnOpt="$2" else usage "ERROR: incorrect number of arguments" fi