aboutsummaryrefslogtreecommitdiff
path: root/bin/snapshot
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-05-24 23:14:15 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2008-05-24 23:14:15 +0000
commita587a74821c155e281d2a6ce9a9a1d7b6a336fce (patch)
treec5ddd7ed4a1cb1a03a8e9d06d16bbe25c5b153df /bin/snapshot
parent921b949e82d9b140d69c4487b132fb4ac3185c2a (diff)
Checked in latest from Tom Schouten's darcs repository, which was checked in
19-Feb-2008. Changes are mostly the email address and URLs, but two new objects are also added: pdp_array2grey and pdp_grey2array for converting between Pd arrays and greyscale images. svn path=/trunk/externals/pdp/; revision=9899
Diffstat (limited to 'bin/snapshot')
-rw-r--r--bin/snapshot10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/snapshot b/bin/snapshot
new file mode 100644
index 0000000..ea93e51
--- /dev/null
+++ b/bin/snapshot
@@ -0,0 +1,10 @@
+[ "$1" == "-d" ] && shift && APPEND="-`date +%Y%m%d_%H%M%S`"
+[ -z "$1" ] && echo "usage $0 [-d] <name>" && exit 1
+
+VER="$1$APPEND"
+
+# for autoconf patch in bin/predist
+export PDP_DIST_VERSION=$VER
+
+# create archive
+exec darcs dist -d "pdp-$VER"