Permalink
Browse files

Fix dist making script to fit new versioning control system.

  • Loading branch information...
1 parent 5592d88 commit 7e77c649e19f5ed2b1c1c930b3e18a911f865378 @xueruini committed Oct 22, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 latex/makedist.sh
  2. +2 −2 latex/makegbk.sh
View
@@ -29,7 +29,7 @@ echo "Copy dirs...."
# have to cleanup tmp files in data/
find data -maxdepth 1 -type f -not -iname "*.tex" -exec rm {} \;
rm -rf data/auto
-tar cp --exclude ".svn" $ALL_DIRS | (cd $templatedir ; tar xp)
+tar cp --exclude ".git" $ALL_DIRS | (cd $templatedir ; tar xp)
echo "Copy files...."
cp -f $ALL_FILES $templatedir
View
@@ -43,7 +43,7 @@ for d in $UTF8_DIRS
do
echo "processing $d/"
mkdir -p $GBKDIR/$d
- for f in `ls $d` # include the path, without .svn
+ for f in `ls $d` # include the path, without .git
do
echo " $f"
myconvert "$d/$f"
@@ -52,7 +52,7 @@ done
# copy extra files
echo "copying $EXTRA_DIRS"
-tar cp --exclude ".svn" --exclude ".git" $EXTRA_DIRS | (cd $GBKDIR ; tar xp)
+tar cp --exclude ".git" $EXTRA_DIRS | (cd $GBKDIR ; tar xp)
echo "copying $EXTRA_FILES"
cp -f $EXTRA_FILES $GBKDIR

0 comments on commit 7e77c64

Please sign in to comment.