aboutsummaryrefslogtreecommitdiffstats
path: root/emacs-gtk2/watch
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-11-18 18:31:14 +0100
committerMattias Andrée <maandree@operamail.com>2012-11-18 18:31:14 +0100
commita6f80c94258f96c06efb80e6888dd36e480541f1 (patch)
treebfc5ce572951e99f9ec3ba7ca037a1112cc65c21 /emacs-gtk2/watch
parentemacs-gtk2 pkgrel update + autodiffing (diff)
downloadaur-packages-a6f80c94258f96c06efb80e6888dd36e480541f1.tar.gz
aur-packages-a6f80c94258f96c06efb80e6888dd36e480541f1.tar.bz2
aur-packages-a6f80c94258f96c06efb80e6888dd36e480541f1.tar.xz
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'emacs-gtk2/watch')
-rwxr-xr-xemacs-gtk2/watch7
1 files changed, 4 insertions, 3 deletions
diff --git a/emacs-gtk2/watch b/emacs-gtk2/watch
index c2c350a..95a07a2 100755
--- a/emacs-gtk2/watch
+++ b/emacs-gtk2/watch
@@ -3,9 +3,6 @@
wget 'https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/emacs' >/dev/null 2>/dev/null
wget 'https://projects.archlinux.org/svntogit/packages.git/plain/trunk/emacs.install?h=packages/emacs' >/dev/null 2>/dev/null
-touch {PKGBUILD,emacs.install}.upstream.new
-mv PKGBUILD.upstream.{new,old}
-mv emacs.install.upstream.{new,old}
mv 'PKGBUILD?h=packages%2Femacs' PKGBUILD.upstream.new
mv 'emacs.install?h=packages%2Femacs' emacs.install.upstream.new
@@ -16,6 +13,10 @@ if [ $? = 0 ]; then
rm new-sum
else
mv new-sum sum
+ diff PKGBUILD.upstream.{old,new} > PKGBUILD.upstream.diff
+ diff emacs.install.upstream.{old,new} > emacs.install.upstream.diff
+ mv PKGBUILD.upstream.{new,old}
+ mv emacs.install.upstream.{new,old}
echo 'emacs-gtk2'
fi
else