File: makedist

package info (click to toggle)
smarty-validate 3.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 276 kB
  • ctags: 192
  • sloc: php: 877; sh: 11; makefile: 4
file content (14 lines) | stat: -rwxr-xr-x 303 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

if [ "x${1}" = "x" ]; then
	echo "usage: makedist [dist-X.X]"
	exit 1
fi
mkdir $1

cp -r change_log.txt COPYING.lib libs makedist NEWS plugins README $1
vi $1/README $1/libs/SmartyValidate.class.php
find $1 -name \.svn -exec rm -rf {} \;
tar -zcvf ${1}.tar.gz $1
zip -r ${1}.zip $1
rm -rf $1