Permalink
Browse files

Merge remote-tracking branch 'upstream/master'

  • Loading branch information...
2 parents ee3ebdf + b8a5bc7 commit 9fdde7e0b072e56ccaa1cf38d03b8e8ba1fb0679 @bit bit committed Nov 23, 2011
Showing with 11 additions and 3 deletions.
  1. +1 −1 README
  2. +10 −2 ipc/get.sh
View
2 README
@@ -2,7 +2,7 @@ FireGPG
This extension is compatible with Firefox 3 and above, on Windows, MacOS and Linux platforms.
-NOTE: FireGPG was abandoned by it's creator Maximilian. We grabbed a copy of the code along
+NOTE: FireGPG was abandoned by its creator Maximilian. We grabbed a copy of the code along
with the firegpg.com domain and posted it here. FireGPG is no longer officially supported.
If members of the community want to submit patches, they will be accepted, but we will not
View
@@ -2,14 +2,22 @@ name=firegpg
var=${name}_ipc
domain=getfiregpg.org
uuid=babce0
-hg clone http://hg.mozilla.org/ipccode $name-ipc
+
+if [ -d $name-ipc ]; then
+ cd $name-ipc
+ hg revert --all --no-backup
+ hg pull
+ cd ..
+else
+ hg clone http://hg.mozilla.org/ipccode $name-ipc
+fi
sed -i s/8431e1/$uuid/g $name-ipc/public/*.idl
sed -i "s/= ipc/= $var/g" $name-ipc/build/Makefile.in
sed -i "s/= ipc/= $var/g" $name-ipc/public/Makefile.in
sed -i "s/$var-pipe/$var/g" $name-ipc/build/Makefile.in
sed -i "s/$var-pipe/$var/g" $name-ipc/public/Makefile.in
-sed -i "s/mozilla.org\/ipc/$domain\/ipc/g" $name-ipc/*/*
+find $name-ipc -type f |grep -v '/\.hg' |xargs sed -i "s/mozilla.org\/ipc/$domain\/ipc/g"
cat << EOF > chrome.manifest
resource $name modules/

0 comments on commit 9fdde7e

Please sign in to comment.