summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmeta-rcar-gen2/copy_mm_software_lcb.sh2
-rw-r--r--meta-rcar-gen2/scripts/setup_mm_packages.sh6
2 files changed, 4 insertions, 4 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
diff --git a/meta-rcar-gen2/scripts/setup_mm_packages.sh b/meta-rcar-gen2/scripts/setup_mm_packages.sh
index 9fed901..b9745d1 100644
--- a/meta-rcar-gen2/scripts/setup_mm_packages.sh
+++ b/meta-rcar-gen2/scripts/setup_mm_packages.sh
@@ -32,7 +32,7 @@ function copy_mm_packages() {
echo -e "'$DOWNLOAD_DIR' directory."
echo -e " $ZIP_1"
echo -e " $ZIP_2"
- return -1
+ return 1
fi
fi
@@ -42,7 +42,7 @@ function copy_mm_packages() {
cd ../..
else
echo "scripts to copy GFX drivers for '$1' not found."
- return -1
+ return 1
fi
if [ -f meta-renesas/meta-rcar-gen2/$COPY_MM_SCRIPT ]; then
@@ -51,6 +51,6 @@ function copy_mm_packages() {
cd ../..
else
echo "scripts to copy MM software for '$1' not found."
- return -1
+ return 1
fi
}