* gnulib-tool: Send diagnostics from patch(1) to stderr,
as otherwise gnulib-tool will reparse that output and attempt
to lookup modules.
+2015-02-03 Pádraig Brady <P@draigBrady.com>
+
+ gnulib-tool: fix handling of patch(1) diagnostics
+ * gnulib-tool: Send diagnostics from patch(1) to stderr,
+ as otherwise gnulib-tool will reparse that output and attempt
+ to lookup modules.
+
2015-02-03 Pádraig Brady <P@draigBrady.com>
bootstrap: exit immediately upon gnulib-tool failure
lkbase=`echo "$lkfile" | sed -e 's,^.*/,,'`
rm -f "$tmp/$lkbase"
cp "$gnulib_dir/$lkfile" "$tmp/$lkbase"
- patch -s "$tmp/$lkbase" < "$local_gnulib_dir/$lkfile.diff" \
+ patch -s "$tmp/$lkbase" < "$local_gnulib_dir/$lkfile.diff" >&2 \
|| func_fatal_error "patch file $local_gnulib_dir/$lkfile.diff didn't apply cleanly"
lookedup_file="$tmp/$lkbase"
lookedup_tmp=true