Switch %datadir over to using @PACKAGE_NAME@.

parent a47bcf14
......@@ -2,7 +2,7 @@
# srt2vtt --- SRT to WebVTT converter
# Copyright © 2015 David Thompson <davet@gnu.org>
# Copyright © 2015 Christopher Allan Webber <cwebber@dustycloud.org>
# Copyright © 2015, 2016 Christopher Allan Webber <cwebber@dustycloud.org>
#
# srt2vtt is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
......
......@@ -30,7 +30,7 @@
;; Thanks to David Thompson for this tip!
(define %datadir
(or (getenv "PUBSTRATE_DATADIR")
"@pubstrate_datadir@/pubstrate"))
"@PUBSTRATE_DATADIR@/@PACKAGE_NAME@"))
(define (scope-datadir filename)
(string-append %datadir filename))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment