Commit 600fae99 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: bootstrap: exit on error

parent a2f4514c
...@@ -118,7 +118,7 @@ fi ...@@ -118,7 +118,7 @@ fi
# Prepare files # Prepare files
# #
echo "Creating configuration file... config.mak" echo "Creating configuration file... config.mak"
exec 3>config.mak exec 3>config.mak || exit $?
cat >&3 << EOF cat >&3 << EOF
# This file was automatically generated. # This file was automatically generated.
# Any change will be overwritten if ../bootstrap is run again. # Any change will be overwritten if ../bootstrap is run again.
...@@ -254,7 +254,7 @@ esac ...@@ -254,7 +254,7 @@ esac
# Results output # Results output
# #
test -e Makefile && unlink Makefile test -e Makefile && unlink Makefile
ln -sf ../../contrib/src/main.mak Makefile ln -sf ../../contrib/src/main.mak Makefile || exit $?
cat << EOF cat << EOF
Bootstrap completed. Bootstrap completed.
...@@ -272,4 +272,4 @@ Other targets: ...@@ -272,4 +272,4 @@ Other targets:
* make package prepare prebuilt packages * make package prepare prebuilt packages
EOF EOF
mkdir -p ../../contrib/tarballs mkdir -p ../../contrib/tarballs || exit $?
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment