From: Kevin M. Rosenberg Date: Mon, 6 May 2002 23:10:30 +0000 (+0000) Subject: r1981: *** empty log message *** X-Git-Tag: v1.6.1~389 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=98cd87fdb8dfbc35e501412ba16f57dbd6c8bf8a;p=uffi.git r1981: *** empty log message *** --- diff --git a/make-upstream.sh b/make-upstream.sh index 1a2a22e..90a553b 100755 --- a/make-upstream.sh +++ b/make-upstream.sh @@ -38,6 +38,18 @@ PACKAGE_DIR=/usr/local/src/Packages/${DEBPKG} DISTDIR=${PKG}-${VERSION} DEBDIR=${DEBPKG}-${VERSION} +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 + case $answer in + [Yy]*) nop= ;; + *) echo "Not building" + exit 1 + ;; + esac +fi + if [ ! -z ${opt_tag} ]; then UPSTREAM_TAG=upstream_version_`echo ${VERSION} | tr . _` echo "(Re-)tagging with Upstream tag '${UPSTREAM_TAG}'"