From b384601c1de1a964ed9edb97f8075710b5dad764 Mon Sep 17 00:00:00 2001 From: Jin-Ming Cui Date: Wed, 26 Jan 2022 14:20:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9release.sh,=E6=9B=BF=E6=8D=A2?= =?UTF-8?q?=E4=BA=86chapter=E6=96=87=E4=BB=B6=E5=A4=B9=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=93=BE=E6=8E=A5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- chapters/Introduction.lyx | 1 - chapters/Publication.lyx | 2 +- release.sh | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/chapters/Introduction.lyx b/chapters/Introduction.lyx index 35c4158..925eadb 100644 --- a/chapters/Introduction.lyx +++ b/chapters/Introduction.lyx @@ -10,7 +10,6 @@ \usepackage{xcolor} -\usepackage[sort]{natbib} %\graphicspath{{figures/}} \usepackage{hyperref} \end_preamble diff --git a/chapters/Publication.lyx b/chapters/Publication.lyx index 1d35df4..c29647c 100644 --- a/chapters/Publication.lyx +++ b/chapters/Publication.lyx @@ -8,7 +8,7 @@ \begin_preamble %Created by jmcui -\usepackage{bibentry,natbib} +\usepackage{bibentry} \usepackage{hyperref} %\graphicspath{{figures/}} \end_preamble diff --git a/release.sh b/release.sh index beb8dc3..6717060 100755 --- a/release.sh +++ b/release.sh @@ -15,12 +15,12 @@ cp ./ustcthesis/ustcthesis.cls ./release/ cp -R ./ustcthesis/figures ./release/ cp ./USTCthesis.layout ./release/ - -cp -R ./chapters ./release/ +mkdir ./release/chapters +cp ./chapters/*.lyx ./release/chapters/ cp ./ustcthesis/ustcthesis.cls ./release/chapters/ cp ./USTCthesis.layout ./release/chapters/ -FINDED_FILES=`find ./release/chapters -name *.lyx~` +FINDED_FILES=`find . -name *.lyx~` for file in ${FINDED_FILES} do rm -rf ${file}