madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://"]
  insteadOf = madduck:

improve bundle creation
authormartin f. krafft <>
Sat, 26 Apr 2008 03:51:19 +0000 (07:51 +0400)
committermartin f. krafft <>
Sat, 26 Apr 2008 03:51:19 +0000 (07:51 +0400)

index b4face4..e102122 100755 (executable)
--- a/
+++ b/
@@ -10,7 +10,7 @@ set -eu
 BUILDDIR="$(mktemp -dt mbuild.XXXXXXXX)"
 trap "cd / && rm -R '$BUILDDIR'" 0
 dinstall() {
   echo "Would install into $1:"
   for file in $(dcmd echo "$2"); do
@@ -32,7 +32,7 @@ fi
@@ -83,8 +83,14 @@ mv "$changesfile" "${changesfile}.binonly"
 mergechanges "$schangesfile" "${changesfile}.binonly" > "$changesfile"
 rm "${changesfile}.binonly" "$schangesfile"
-dcmd tar -cvhf "$bundle" "$changesfile"
+DATESTR="$(date +%Y.%m.%d.%H%M%S)"
+mv current "${BUILD_PREFIX}".buildlog
+rm -f current-*
+tar -chf "$bundle" *
 rm -r "$BUILDDIR"
 trap - 0