Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

from jw:

  * accept .orig and ~ files in working directories.
  * UI consistency improved.
  • Loading branch information...
commit 4f2521aa4da496f8738b958e24ea133ff75da9f6 1 parent 0788d0a
Ruediger Oertel bugfinder authored
Showing with 7 additions and 3 deletions.
  1. +7 −3 20-files-present-and-referenced
10 20-files-present-and-referenced
View
@@ -254,6 +254,8 @@ for i in $DIR_TO_CHECK/* $DIR_TO_CHECK/.* ; do
debian.tar.gz | \
*.dsc | \
ready | \
+ _* | \
+ *.orig | \
*~ | \
.gitignore)
;;
@@ -264,11 +266,13 @@ for i in $DIR_TO_CHECK/* $DIR_TO_CHECK/.* ; do
# be a bit more relaxed for osc, it won't upload directories anyway
if [ ! -d $DIR_TO_CHECK/.osc ] ; then
echo "!! $BASE is a directory !!"
- if test "$BATCHMODE" != true ; then
- echo "remove the whole subtree with 'd'"
+ if test "$BATCHMODE" != true ; then
+ echo " remove subtree with 'r'"
+ echo "ignore and continue with 'y'"
echo -n "Is this correct? [N/y/r] "
read ANSWER
- test "$ANSWER" = y -o "$ANSWER" = Y || {
+ test "$ANSWER" = y -o "$ANSWER" = Y || {
+ # r for remove is also accepted, to make it compatible with osc itself
if test "$ANSWER" = d -o "$ANSWER" = D -o "$ANSWER" = r -o "$ANSWER" = R; then
rm -Rfv $DIR_TO_CHECK/$BASE
else
Please sign in to comment.
Something went wrong with that request. Please try again.