diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-01-27 10:14:56 -0700 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2011-01-27 10:14:56 -0700 |
commit | fc837dd1e96354338e943d11e31c6585cdb6ef3c (patch) | |
tree | 2c74e3877708259241bfbc990c6981c46e39a589 /bin | |
parent | f16f443fd8e264dd0d18d810ef1e946d1c9baa47 (diff) | |
download | openembedded-fc837dd1e96354338e943d11e31c6585cdb6ef3c.tar.gz |
bin/install: use '.' not source, and use -eq not ==
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/install | 4 |
1 files changed, 2 insertions, 2 deletions
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 |