# | (__| |_| | _ <| |___
# \___|\___/|_| \_\_____|
#
-# Copyright (C) 1998 - 2021, Daniel Stenberg, <daniel@haxx.se>, et al.
+# Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
echo "make dist"
targz="curl-$version.tar.gz"
make -sj dist VERSION=$version
+res=$?
+
+if test "$res" != 0; then
+ echo "make dist failed"
+ exit 2
+fi
############################################################################
#