Github user JonZeolla commented on the issue:

    https://github.com/apache/incubator-metron/pull/455
  
    I'm a -1 (non-binding) on this for now, primarily because the bash fails to 
run on CentOS 6.8 (where I tested it).  The error was `basename: invalid option 
-- 's'`.
    
    I think I able to fix the issue by changing that line to 
`item_name=$(basename ${md%.*})` (feel free to sub backticks, just hard to show 
in GitHub md)
    
    
    Regarding the prior discussions
    I guess I fail to see the reason why site.xml.bak is created in the first 
place then.  A reasonable alternative in my mind would be to add something like 
`diff $fullpath/site.xml $fullpath/site.xml.bak && rm $fullpath/site.xml.bak` 
to `quit()`.
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to