Skip to content

Commit

Permalink
fix checking _service file
Browse files Browse the repository at this point in the history
  • Loading branch information
lnussel committed May 13, 2015
1 parent ff268e1 commit 7c2f7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 20-files-present-and-referenced
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ mv $TMPDIR/sources.t $TMPDIR/sources
if [ -x $(type -p xmllint) ]; then
# Check if _service is sane
if [ -f $DIR_TO_CHECK/_service ]; then
xmllint --format $i > $TMPDIR/_service
xmllint --format $DIR_TO_CHECK/_service > $TMPDIR/_service

if egrep -q "service .*mode=." $TMPDIR/_service \
&& ! egrep -q "service .*mode=.(disabled|localrun)" \
Expand Down

0 comments on commit 7c2f7ae

Please sign in to comment.