projects
/
git-tools-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
id-pbuild.sh: allow deb-src to be already present
[git-tools-moved-to-github.git]
/
id-deb-build
/
id-pbuild.sh
diff --git
a/id-deb-build/id-pbuild.sh
b/id-deb-build/id-pbuild.sh
index
c04e2d7
..
656b374
100755
(executable)
--- a/
id-deb-build/id-pbuild.sh
+++ b/
id-deb-build/id-pbuild.sh
@@
-73,7
+73,7
@@
if test ! -x $MKDEBSRC; then
fi
if $upload; then
fi
if $upload; then
- cd deb-src
+ :
else
if test "${SUDO_USER}"; then
if test ! -d deb-src; then
else
if test "${SUDO_USER}"; then
if test ! -d deb-src; then
@@
-81,7
+81,7
@@
else
fi
else
if test -d deb-src; then
fi
else
if test -d deb-src; then
- rm -rf deb-src
+ rm -f deb-src/*.gz
if test $? -ne 0; then
echo "deb-src could not be removed. Remove deb-src manually"
exit 1
if test $? -ne 0; then
echo "deb-src could not be removed. Remove deb-src manually"
exit 1
@@
-89,8
+89,8
@@
else
fi
$MKDEBSRC
fi
fi
$MKDEBSRC
fi
- cd deb-src
fi
fi
+cd deb-src
for f in *.dsc; do
if test -f "$f"; then
for f in *.dsc; do
if test -f "$f"; then