we better rm on startup to work around jenkins messing it up, till I figure a cleaner way

This commit is contained in:
Sam 2013-11-20 17:31:58 +11:00
parent adf355567c
commit 37267f36a6
1 changed files with 2 additions and 1 deletions

View File

@ -178,7 +178,8 @@ class Plugin::Instance
`mkdir -p #{target}`
target << name
# TODO a cleaner way of registering and unregistering
`ln -s #{public_data} #{target}` unless File.exists? target
`rm -f #{target}`
`ln -s #{public_data} #{target}`
end
end