X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL%2Fmeta-agl.git;a=blobdiff_plain;f=scripts%2Fenvsetup.sh;h=d00330128f8bd26392ab50ef2c497a17b666ce5f;hp=27d73a7e232ef2ceb218a1a3af2fb6d3b17d61ba;hb=6df1067fd87f68e67dad5cf5bd85acfea4a17abb;hpb=0c85137679d6d2c9e9039545a2446b82210f8633 diff --git a/scripts/envsetup.sh b/scripts/envsetup.sh index 27d73a7e2..d00330128 100644 --- a/scripts/envsetup.sh +++ b/scripts/envsetup.sh @@ -2,7 +2,7 @@ if [ -z $1 ]; then echo -e "Usage: source envsetup.sh [build dir]" - return -1 + return 1 fi case "$1" in @@ -14,7 +14,7 @@ case "$1" in copy_mm_packages $1 if [ $? -ne 0 ]; then echo "Copying gfx drivers and multimedia packages for '$1' failed." - return -1 + return 1 fi fi