Browse Source

Fix a bug in locale linking code

signals
Gavin Howard 3 years ago
parent
commit
6c12e6a3cd
Signed by untrusted user who does not match committer: gavin
GPG Key ID: 4377E1364E9F1CB0
  1. 3
      locale_install.sh

3
locale_install.sh

@ -217,7 +217,8 @@ for file in $locales_dir/*.msg; do
linkdir=$(dirname "$file")
locale=$(basename "$link" .msg)
linksrc=$(gen_nlspath "$nlspath" "$locale" "$main_exec")
rel=$(relpath "$linksrc" "$loc")
relloc="${loc##$destdir/}"
rel=$(relpath "$linksrc" "$relloc")
if [ ! -f "$destdir/$linksrc" ]; then
gencatfile "$destdir/$linksrc" "$linkdir/$link"

Loading…
Cancel
Save