Obviously such a hard coded path is BAD. However, I was just informed on the IRC channel by jcamins that this is deprecated. In which case, this directory needs to be cleaned up, by at least deleting this file. :)
Created attachment 16829 [details] [review] Bug 8200 - removing misc/translator/update.pl - deprecated file
Here's the conversation FWIW: 15:09 mtompset okay, okay... a weirdness got my attention before getting to bed. 15:09 mtompset use lib '/home/chris/git/koha.git'; 15:09 mtompset in the misc/translator/update.pl program. 15:12 jcamins mtompset: don't use update.pl. 15:12 jcamins It's deprecated. 15:12 jcamins Use translate. 15:13 mtompset I'm not using it... I was just looking for perl use statements, to make sure the package lists were up to date. 15:13 jcamins mtompset: okay, good. 15:13 jcamins mtompset: definitely a bug, though. I'd report it. 15:13 jcamins Eventually the script will be removed, I think. 15:14 mtompset when was it deprecated? 15:15 jcamins mtompset: not sure, exactly. A while ago. http://stats.workbuffer.org/irclog/koha/2012-06-06#i_987956
Created attachment 17129 [details] [review] [SIGNED-OFF] Bug 8200 - removing misc/translator/update.pl - deprecated file Signed-off-by: Owen Leonard <oleonard@myacpl.org>
It seems that misc/translator/stats.pl uses this script. Should we remove it too?
Created attachment 17254 [details] [review] [PASSED QA] Bug 8200 - removing misc/translator/update.pl - deprecated file Signed-off-by: Owen Leonard <oleonard@myacpl.org> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> Patch removes unused file.
Created attachment 17255 [details] [review] Bug 8200: Follow up - Removing unused file stats.pl Patch removes misc/translator/stats.pl that is no longer used and references deleted script update.pl in same directory.
This patch has been pushed to master and 3.12.x.