r28657 - /scripts/qa/packagecheck
ryan52-guest at users.alioth.debian.org
ryan52-guest at users.alioth.debian.org
Sun Dec 28 06:54:42 UTC 2008
Author: ryan52-guest
Date: Sun Dec 28 06:54:39 2008
New Revision: 28657
URL: http://svn.debian.org/wsvn/?sc=1&rev=28657
Log:
fix indentation and syntax
Modified:
scripts/qa/packagecheck
Modified: scripts/qa/packagecheck
URL: http://svn.debian.org/wsvn/scripts/qa/packagecheck?rev=28657&op=diff
==============================================================================
--- scripts/qa/packagecheck (original)
+++ scripts/qa/packagecheck Sun Dec 28 06:54:39 2008
@@ -293,9 +293,9 @@
while getopts p:acVHMDWCRQAh O; do
case "$O" in
- a)
- AUTO=1
- ;;
+ a)
+ AUTO=1
+ ;;
p)
PKG=$OPTARG
;;
@@ -419,8 +419,8 @@
[ "$?" -ne "0" ] && exit 1;
if [ $AUTO -ne 1 ]; then
- echo "Running svn up $WORK_DIR ..."
- svn up $WORK_DIR
+ echo "Running svn up $WORK_DIR ..."
+ svn up $WORK_DIR
fi
echo "Checking if $WORK_DIR is clean ..."
@@ -449,22 +449,21 @@
# work is done. svn diff? svn commit?
if [ "$CHANGED" = "1" ]; then
-
- read -p "Show svn diff $WORK_DIR (y|N)? " DIFF
- if [ $AUTO -ne 1 ]; then
- case $DIFF in
- y|Y)
- $CMD_SVN_DIFF $WORK_DIR | less -R
- ;;
- *)
- ;;
- esac
- fi
- COMMIT_MSG="[packagecheck] fixed Vcs-(Svn|Browser)/Homepage field(s) in debian/control and/or URL in debian/watch and/or rmdir /usr/{lib|share}/perl5 in debian/rules."
+ if [ $AUTO -ne 1 ]; then
+ read -p "Show svn diff $WORK_DIR (y|N)? " DIFF
+ case $DIFF in
+ y|Y)
+ $CMD_SVN_DIFF $WORK_DIR | less -R
+ ;;
+ *)
+ ;;
+ esac
+ fi
+ COMMIT_MSG="[packagecheck] fixed Vcs-(Svn|Browser)/Homepage field(s) in debian/control and/or URL in debian/watch and/or rmdir /usr/{lib|share}/perl5 in debian/rules."
if [ -n "$UNCLEAN" ]; then
echo $WORK_DIR was not clean at start. Please commit manually.
else
- if [ $AUTO -ne 1 ]; then
+ if [ $AUTO -ne 1 ]; then
read -p "Commit $WORK_DIR (y|N)? " COMMIT
case $COMMIT in
y|Y)
@@ -473,9 +472,8 @@
*)
;;
esac
- else # AUTO
- svn ci -m "$COMMIT_MSG" $WORK_DIR
- fi
+ else # AUTO
+ svn ci -m "$COMMIT_MSG" $WORK_DIR
fi
else
More information about the Pkg-perl-cvs-commits
mailing list