Permalink
Browse files

check_packages: add STOP_NOW terminator to make it easier for lists o…

…f packages
  • Loading branch information...
1 parent 26b08eb commit 3a1e1f11bbe44922837b4c6bd2883c2f55f2dae2 @gregkh committed Mar 9, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 check_packages
View
@@ -52,6 +52,9 @@ while read line
do
# remove lines that start with a # and all whitespace in the line
line=`echo $line | sed -e '/^#/d' | sed -e 's/^[ \t]*//;s/[ \t]*$//'`
+ if [ "${line}" = "STOP_NOW" ] ; then
+ exit 1
+ fi
if [ "$line" != "" ]
then
./check_package --repo $REPO $line

0 comments on commit 3a1e1f1

Please sign in to comment.