Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts/gensync
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-12-21 01:53:40 +0000
committerAaron Griffin <aaron@archlinux.org>2006-12-21 01:53:40 +0000
commit74e347f09bd62872de84b431dcf029090931d199 (patch)
tree966f7b6b2a35ccaecb61b2119f28a2bad2340a96 /scripts/gensync
parentb1fbcd3ab5cf16b668cfc72d90223f48a329605b (diff)
* modeline fixes / reformatting
* formatting / indentation fixes * makepkg: Dan McGee <dpmcgee@gmail.com> - integrity check fix Jürgen Hötzel <juergen@hoetzel.info> - EUID usage and "x$foo" check revamp
Diffstat (limited to 'scripts/gensync')
-rwxr-xr-xscripts/gensync9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/gensync b/scripts/gensync
index 8ddee82a..daac7e84 100755
--- a/scripts/gensync
+++ b/scripts/gensync
@@ -210,10 +210,10 @@ echo "gensync: building database entries, generating md5sums..." >&2
cd `dirname $2`
for file in `find $rootdir/* -name PKGBUILD`; do
source $file || die "errors parsing $file"
- db_write_entry $file || die "error writing entry for $file"
- else
- echo "gensync: missing package: $pkgfile" >&2
- fi
+ db_write_entry $file || die "error writing entry for $file"
+else
+ echo "gensync: missing package: $pkgfile" >&2
+fi
done
echo "gensync: compressing to $destfile..." >&2
@@ -223,4 +223,5 @@ tar c * | gzip -9 >$destfile
rm -rf $gstmpdir
exit 0
+
# vim: set ts=2 sw=2 noet: