summaryrefslogtreecommitdiff
path: root/solenv/bin/hrcex
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/hrcex')
-rwxr-xr-xsolenv/bin/hrcex2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/bin/hrcex b/solenv/bin/hrcex
index 2a657290ed88..8e897ea1fca3 100755
--- a/solenv/bin/hrcex
+++ b/solenv/bin/hrcex
@@ -30,6 +30,6 @@ with open(ofile, "a") as output:
keyid = entry.msgctxt + '|' + entry.msgid
print >> output, '#. ' + polib.genKeyId(keyid)
location = entry.occurrences[0][0]
- location = os.path.basename(location)
+ location = os.path.relpath(location, os.environ['SRCDIR'])
entry.occurrences[0] = location, entry.occurrences[0][1]
print >> output, entry