aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/copy_mm_software_lcb.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2015-12-05 18:55:48 +0100
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2015-12-05 19:32:51 +0100
commitb67bcedadae03ea320ee95cda59993b994b09a5d (patch)
tree6d77689ed3bc1931d1f6b9ffec84573e5b145be6 /meta-rcar-gen2/copy_mm_software_lcb.sh
parentd8ec284f3b7f6854851cac3cbf6f211425af142b (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-xmeta-rcar-gen2/copy_mm_software_lcb.sh2
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