aboutsummaryrefslogtreecommitdiffstats
path: root/yamlishwriter-php-v0.0.1/dist.sh
blob: 5752e537e7e8eaa92b5429e7cb3c03acac4d52cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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