From: Chris Larson Date: Thu, 27 Jan 2011 17:14:56 +0000 (-0700) Subject: bin/install: use '.' not source, and use -eq not == X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc837dd1e96354338e943d11e31c6585cdb6ef3c;p=openembedded.git bin/install: use '.' not source, and use -eq not == Signed-off-by: Chris Larson --- diff --git a/bin/install b/bin/install index a587fa0096..ab316f61a4 100755 --- a/bin/install +++ b/bin/install @@ -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