jobd.pl: clean up get_project_path usage
commit765781967e3f994c49adb2e070002f6709fa5773
authorKyle J. McKay <mackyle@gmail.com>
Sat, 30 Dec 2017 14:46:05 +0000 (30 06:46 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 30 Dec 2017 14:46:05 +0000 (30 06:46 -0800)
treec327404e40ffed4627ce5f744291d4f544be6994
parent0a460383bc4ee6894c000aba22ed5de1cef1ba9f
jobd.pl: clean up get_project_path usage

Make get_project_path return a "clean" directory path (i.e. one
without an extra trailing '/' on the end).

Change the clients that were expecting the trailing '/' to supply
their own.

Cache result of calling get_project_path to improve efficiency.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/jobd.pl