diff options
| author | Adam Vandenberg | 2014-02-26 21:19:55 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-26 21:39:09 -0800 |
| commit | ed8f4c8b236879a26cd6da508ce3afc37eb5c529 (patch) | |
| tree | 82e98d9798f4f9167d7634431d50929133f1e857 /Library | |
| parent | 961a52b5ee5582bf3c8acb797eef1d59fb67c698 (diff) | |
| download | homebrew-ed8f4c8b236879a26cd6da508ce3afc37eb5c529.tar.bz2 | |
bagit: use var/bagit/logs for logs
Closes #27019.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/bagit.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/bagit.rb b/Library/Formula/bagit.rb index eb7ec0e64..d7065fb27 100644 --- a/Library/Formula/bagit.rb +++ b/Library/Formula/bagit.rb @@ -5,10 +5,11 @@ class Bagit < Formula url 'https://github.com/LibraryOfCongress/bagit-java/releases/download/bagit-4.8.1/bagit-4.8.1-bin.zip' sha1 'a5f42372dcbe75f44d9181dd8edc8e6f18b68ec9' - skip_clean 'logs' - def install - prefix.install %w{conf logs} + inreplace "conf/log4j.properties", "${app.home}/logs", "#{var}/log/bagit" + (var/'log/bagit').mkpath + + prefix.install 'conf' libexec.install Dir['lib/*'] |
