[hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 6269: Remove GNU-isms

------------------------------------------------------------
revno: 6269
committer: Stefan Götz <stefan.goetz@xxxxxx>
branch nick: hipl
timestamp: Tue 2012-01-31 23:25:15 +0100
message:
  Remove GNU-isms
modified:
  .commitguards/author-attribution.guard


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to 
https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file '.commitguards/author-attribution.guard'
--- .commitguards/author-attribution.guard      2012-01-22 09:04:36 +0000
+++ .commitguards/author-attribution.guard      2012-01-31 22:25:15 +0000
@@ -25,7 +25,7 @@
 files=.*
 actions=amr
 command=
-    if AUTHORS="$(egrep "@author\b" "{}")"; then
+    if AUTHORS="$(grep -E "@author[[:space:]]" "{}")"; then
         echo "{}: files should not contain author attributions such as '$(echo 
"${AUTHORS}" | head -n 1)'"
         false
     fi

Other related posts:

  • » [hipl-dev] [Branch ~hipl-core/hipl/trunk] Rev 6269: Remove GNU-isms - noreply