changeset 2495:a681265e116f

patch tool: Add useful status messages
author Ryan Pavlik <rpavlik@iastate.edu>
date Mon, 07 May 2012 12:56:06 -0500
parents fa084483fc19
children 5fa39b653154
files tools/patch-tool-mxe
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tools/patch-tool-mxe	Mon May 07 12:55:52 2012 -0500
+++ b/tools/patch-tool-mxe	Mon May 07 12:56:06 2012 -0500
@@ -72,8 +72,10 @@
   cd $gitsdir/$pkg_subdir && \
   (git init; git add -A; git commit -m "init") > /dev/null
 
-  echo "Tagging distribution tarball state"
+  echo "Creating 'dist' tag for distribution tarball state"
   git tag dist
+
+  echo "Repository ready in $gitsdir/$pkg_subdir"
 }
 
 function export_patch {
@@ -92,7 +94,8 @@
     echo ''
     git format-patch -p --stdout dist..HEAD | \
     sed 's/^From: .*/From: MXE/g;'
-  ) > $mxedir/src/$pkg-1-fixes.patch
+  ) > $mxedir/src/$pkg-1-fixes.patch && \
+  echo "Generated $mxedir/src/$pkg-1-fixes.patch"
 }
 
 function import_patch {