public
Description: Git mirror of the CMS Made Simple 2.0 rewrite
Homepage: http://cmsmadesimple.org
Clone URL: git://github.com/tedkulp/cmsmadesimple-2-0.git
Search Repo:
commit  5ff950061372f6d3c32f24674eed223a0bdff9f0
tree    c306865e8d5d7b7a05696d2d643155592c1e4db5
parent  1d4e393fe0cae8142711a915f87157611a76f101
cmsmadesimple-2-0 / release-cleanup.sh
100755 27 lines (23 sloc) 0.62 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
 
echo ------------------------------------
echo Running Cleanup Script
echo ------------------------------------
 
sh autogen.sh
 
rm -fr build
rm -fr config.php
rm -fr autogen.sh
rm -fr makedoc.sh
rm -fr images/cms/*.svg
rm -fr admin/editconfig.php
rm -fr lib/adodb
rm -fr lib/preview.functions.php
rm -fr test
rm -fr command.php
rm -fr lib/pear/php_shell
find . -depth -type d -name .svn -exec rm -fr {} \;
find . -type d -exec chmod 775 {} \;
find . -type f -name "*.php" chmod -x {} \;
rm -fr release-cleanup.sh
 
echo ------------------------------------
echo Done!
echo ------------------------------------