coreos/rocket — pull request #249 by jonboulle (2014-12-09 09:57:04+00:00)
Title: appc: fix relative paths in app validator

strings.TrimPrefix was not correct since it resulted in different behaviour
depending on whether the directory passed had a trailing slash or not (this
meant for example that `actool validate foo/` would succeed but `actool
validate foo` would fail) Go has a function for the correct behaviour in
filepath.Rel, so use it.

Also small style updates to keep up with the recent
appmanifest+filesetmanifest --> ImageManifest change