X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=make-upstream.sh;fp=make-upstream.sh;h=3518c444e650c824330f3c370581f7db8395a3fd;hb=3849e5bef023b49847ea4d950f968ccfc21db655;hp=a42794e32b6a32f17eee0533265bced72865435a;hpb=610dc771df7c029185c2c36e1212f209877984ef;p=clsql.git diff --git a/make-upstream.sh b/make-upstream.sh index a42794e..3518c44 100755 --- a/make-upstream.sh +++ b/make-upstream.sh @@ -56,7 +56,7 @@ if [ ! -z ${opt_tag} ]; then fi -if [ -z ${opt_force} -a -f ${PACKAGE_DIR}/${DEBPKG}_${VERSION}.orig.tar.gz ]; then +if [ -f ${PACKAGE_DIR}/${DEBPKG}_${VERSION}.orig.tar.gz ]; then echo "File ${PACKAGE_DIR}/${DEBPKG}_${VERSION}.orig.tar.gz already exists." echo -n "Are you sure that you want to create a new upstream archive? (y/N): " read answer @@ -76,8 +76,7 @@ cp -a ${TOPDIR} ${DISTDIR} echo "Cleaning distribution directory ${DISTDIR}" cd ${DISTDIR} -rm -f upload.sh make-debian.sh make-upstream.sh cvsbp-prepare.sh -rm -f test-suite/test.config +rm -f upload.sh make-debian.sh make-upstream.sh cvsbp-prepare.sh test-suite/test.config rm -f `find . -type f -name .cvsignore` rm -rf `find . -type d -name CVS` rm -f `find . -type f -name '*~' -or -name '.#*' -or -name '#*#' -or -name ".*~"`