diff options
author | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2015-12-05 18:55:48 +0100 |
---|---|---|
committer | Jan-Simon Möller <jsmoeller@linuxfoundation.org> | 2015-12-05 19:32:51 +0100 |
commit | b67bcedadae03ea320ee95cda59993b994b09a5d (patch) | |
tree | 6d77689ed3bc1931d1f6b9ffec84573e5b145be6 /meta-rcar-gen2/copy_mm_software_lcb.sh | |
parent | d8ec284f3b7f6854851cac3cbf6f211425af142b (diff) |
Fix errors in setup scripts
- return is never negative in bash
- add exit value 1 to copy_mm_software_lcb.sh
Change-Id: I36f39927967709f23543426da95a66da68c86143
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-rcar-gen2/copy_mm_software_lcb.sh')
-rwxr-xr-x | meta-rcar-gen2/copy_mm_software_lcb.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-rcar-gen2/copy_mm_software_lcb.sh b/meta-rcar-gen2/copy_mm_software_lcb.sh index e8e8b82..016c0c0 100755 --- a/meta-rcar-gen2/copy_mm_software_lcb.sh +++ b/meta-rcar-gen2/copy_mm_software_lcb.sh @@ -23,7 +23,7 @@ find_change_name(){ change_names() { if [ ! -e $1 ]; then echo "Directory $1 not existed. Exit !" - exit + exit 1 fi current_path=`pwd` cd $1 |