projects
/
uffi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b1935e5
)
r1981: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Mon, 6 May 2002 23:10:30 +0000
(23:10 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Mon, 6 May 2002 23:10:30 +0000
(23:10 +0000)
make-upstream.sh
patch
|
blob
|
history
diff --git
a/make-upstream.sh
b/make-upstream.sh
index 1a2a22e068299ce46cbf6a8c989f491f8c426636..90a553bc8b04eea9cb84762dab4144394a663975 100755
(executable)
--- 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}
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}'"
if [ ! -z ${opt_tag} ]; then
UPSTREAM_TAG=upstream_version_`echo ${VERSION} | tr . _`
echo "(Re-)tagging with Upstream tag '${UPSTREAM_TAG}'"