コミットメタ情報

リビジョンbfbcbcb184e67168328e46baaf3386883ac6204e (tree)
日時2016-02-24 21:50:54
作者umorigu <umorigu@gmai...>
コミッターumorigu

ログメッセージ

Remove .gitignore

変更サマリ

差分

--- a/release.sh
+++ b/release.sh
@@ -1,12 +1,14 @@
11 #!/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+#
45 # Release automation script for PukiWiki
56 # ==========================================================
67 Copyright='(C) 2002-2004,2011 minix-up project, All Rights Reserved'
78 Homepage='http://cvsknit.sourceforge.net/'
89 License='(also revised)BSD Licnese, NO WARRANTY'
910 #
11+set -ex
1012
1113 # Name and Usage --------------------------------------------
1214 _name="` basename $0 `"
@@ -256,12 +258,17 @@ test -z "$__noremove" && {
256258 fi
257259 echo find "$pkg_dir" -type f -name '.cvsignore' "| xargs rm -f"
258260 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 {} \;
259263 }
260264
261265 # 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
265272
266273
267274 # Conversion ------------------------------------------------
旧リポジトリブラウザで表示