aboutsummaryrefslogtreecommitdiffstats
path: root/yamlishwriter-php-v0.0.1/dist.sh
diff options
context:
space:
mode:
Diffstat (limited to 'yamlishwriter-php-v0.0.1/dist.sh')
-rwxr-xr-xyamlishwriter-php-v0.0.1/dist.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/yamlishwriter-php-v0.0.1/dist.sh b/yamlishwriter-php-v0.0.1/dist.sh
new file mode 100755
index 0000000..5752e53
--- /dev/null
+++ b/yamlishwriter-php-v0.0.1/dist.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+distname=$1
+distarc="$distname.tar.gz"
+
+echo "Making $distarc"
+for f in `cat MANIFEST`
+do
+ d=`dirname $f`
+ mkdir -p "$distname/$d"
+ echo "Adding $f"
+ cp $f "$distname/$f"
+done
+
+tar zcf $distarc $distname
+rm -rf $distname