[vlc-commits] contrib: bootstrap: exit on error
Rémi Denis-Courmont
git at videolan.org
Thu Mar 21 20:06:22 CET 2013
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar 21 21:06:07 2013 +0200| [600fae99e5d3e0ded342fc9da4aca1c8f65867ca] | committer: Rémi Denis-Courmont
contrib: bootstrap: exit on error
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=600fae99e5d3e0ded342fc9da4aca1c8f65867ca
---
contrib/bootstrap | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/contrib/bootstrap b/contrib/bootstrap
index 37cdda8..a455992 100755
--- a/contrib/bootstrap
+++ b/contrib/bootstrap
@@ -118,7 +118,7 @@ fi
# Prepare files
#
echo "Creating configuration file... config.mak"
-exec 3>config.mak
+exec 3>config.mak || exit $?
cat >&3 << EOF
# This file was automatically generated.
# Any change will be overwritten if ../bootstrap is run again.
@@ -254,7 +254,7 @@ esac
# Results output
#
test -e Makefile && unlink Makefile
-ln -sf ../../contrib/src/main.mak Makefile
+ln -sf ../../contrib/src/main.mak Makefile || exit $?
cat << EOF
Bootstrap completed.
@@ -272,4 +272,4 @@ Other targets:
* make package prepare prebuilt packages
EOF
-mkdir -p ../../contrib/tarballs
+mkdir -p ../../contrib/tarballs || exit $?
More information about the vlc-commits
mailing list