bin/install: use '.' not source, and use -eq not ==
authorChris Larson <chris_larson@mentor.com>
Thu, 27 Jan 2011 17:14:56 +0000 (10:14 -0700)
committerChris Larson <chris_larson@mentor.com>
Thu, 27 Jan 2011 17:14:56 +0000 (10:14 -0700)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
bin/install

index a587fa0..ab316f6 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-source $(dirname $0)/wrapper.sh
+. $(dirname $0)/wrapper.sh
 
 saved=""
 while getopts dbCcMpSsvB:f:g:m:o:D opt; do
@@ -28,7 +28,7 @@ for arg; do
     save "$arg"
 done
 
-if [ $# == 2 -a -n "$createleading" ]; then
+if [ $# -eq 2 -a -n "$createleading" ]; then
     install -d $(dirname $2)
 fi