Permalink
Browse files

pattern search silenced

  • Loading branch information...
1 parent bb18fe6 commit 172f3552d4bb5ae85ba7e7e5854bd6670d9981fe @RogueM RogueM committed Jan 8, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 draft/unpublish.sh
View
@@ -19,7 +19,7 @@ for dirmd in ${langlist[@]}; do
else
mv $srcdir/$dirmd/overlay/$board.md $draftmd
fi
- if grep -e $board $srcdir/$dirmd/$yamlfile; then
+ if grep -e $board $srcdir/$dirmd/$yamlfile &> /dev/null; then
sed -i "/$board/d" $srcdir/$dirmd/$yamlfile
fi
done

0 comments on commit 172f355

Please sign in to comment.