[Pkg-mozext-commits] [SCM] Packaging for https-everywhere branch, experimental, updated. debian/3.2-1

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Apr 28 12:41:29 UTC 2013


The following commit has been merged in the experimental branch:
commit 62449357b20bedf710fb93987304ed1473523e9b
Author: Daniel Kahn Gillmor <dkg at fifthhorseman.net>
Date:   Tue Nov 9 14:11:07 2010 -0500

    warn about uncommitted changes if the user invokes makexpi.sh with no arguments

diff --git a/makexpi.sh b/makexpi.sh
index d4fc73b..e408f8d 100755
--- a/makexpi.sh
+++ b/makexpi.sh
@@ -21,6 +21,9 @@ if [ "$1" ] ; then
 else
     VERSION="$(grep em:version src/install.rdf | sed -e 's/[<>]/	/g' | cut -f3)~pre"
     TARG=HEAD
+    if [ -n "$(git status -s)" ] ; then
+        printf "WARNING: There are uncommitted changes in your current repostitory.\nWARNING: These changes will not be included in the generated .xpi\nWARNING: Run 'git status' for information about the uncommitted changes.\n" >&2
+    fi
 fi
 XPI_NAME="pkg/$APP_NAME-$VERSION.xpi"
 

-- 
Packaging for https-everywhere



More information about the Pkg-mozext-commits mailing list