Revisão | bfbcbcb184e67168328e46baaf3386883ac6204e (tree) |
---|---|
Hora | 2016-02-24 21:50:54 |
Autor | ![]() |
Commiter | umorigu |
Remove .gitignore
@@ -1,12 +1,14 @@ | ||
1 | 1 | #!/bin/sh |
2 | -# $Id: release.sh,v 1.35 2011/06/05 14:22:51 henoheno Exp $ | |
3 | -# $CVSKNIT_Id: release.sh,v 1.11 2004/05/28 14:26:24 henoheno Exp $ | |
2 | + | |
3 | +# release.sh | |
4 | +# | |
4 | 5 | # Release automation script for PukiWiki |
5 | 6 | # ========================================================== |
6 | 7 | Copyright='(C) 2002-2004,2011 minix-up project, All Rights Reserved' |
7 | 8 | Homepage='http://cvsknit.sourceforge.net/' |
8 | 9 | License='(also revised)BSD Licnese, NO WARRANTY' |
9 | 10 | # |
11 | +set -ex | |
10 | 12 | |
11 | 13 | # Name and Usage -------------------------------------------- |
12 | 14 | _name="` basename $0 `" |
@@ -256,12 +258,17 @@ test -z "$__noremove" && { | ||
256 | 258 | fi |
257 | 259 | echo find "$pkg_dir" -type f -name '.cvsignore' "| xargs rm -f" |
258 | 260 | find "$pkg_dir" -type f -name '.cvsignore' | xargs rm -f |
261 | + echo find "$pkg_dir" -type f -name '.gitignore' -exec rm -f {} \; | |
262 | + find "$pkg_dir" -type f -name '.gitignore' -exec rm -f {} \; | |
259 | 263 | } |
260 | 264 | |
261 | 265 | # Get back original files ---------------------------------- |
262 | -mv $pkg_dir/wiki/_526563656E744368616E676573.txt $pkg_dir/wiki/526563656E744368616E676573.txt | |
263 | -mv $pkg_dir/cache/_recent.dat $pkg_dir/cache/recent.dat | |
264 | - | |
266 | +if [ -f "$pkg_dir/wiki/_526563656E744368616E676573.txt" ] ; then | |
267 | + mv $pkg_dir/wiki/_526563656E744368616E676573.txt $pkg_dir/wiki/526563656E744368616E676573.txt | |
268 | +fi | |
269 | +if [ -f "$pkg_dir/cache/_recent.dat" ] ; then | |
270 | + mv $pkg_dir/cache/_recent.dat $pkg_dir/cache/recent.dat | |
271 | +fi | |
265 | 272 | |
266 | 273 | |
267 | 274 | # Conversion ------------------------------------------------ |