Gavin Howard
b46b163387
Fix whitespace
2 years ago
Zach van Rijn
6d2cf3fdc2
Update copyright year 2019 --> 2020.
2 years ago
Gavin Howard
6c12e6a3cd
Fix a bug in locale linking code
3 years ago
Gavin Howard
66b947cae3
Force locale linking
3 years ago
Gavin Howard
e77f613598
Make relative links for locales
3 years ago
Gavin Howard
ed5e79c045
Make locale_install.sh work for package managers
3 years ago
Stefan Esser
88171390aa
The test should use the same file name as is created if the file is not found.
3 years ago
Stefan Esser
d9bda13740
The test should use the same file name as is created if the file is not found.
3 years ago
Gavin Howard
08727ac94a
Make locale symlinks work on Arch
3 years ago
Gavin Howard
fbe3884fca
Make locale symlinks soft
3 years ago
Gavin Howard
62421e978d
Remove use of `local` from scripts
3 years ago
Gavin Howard
a6a609e0a6
Remove some code from a bad merge
3 years ago
Gavin Howard
00382e90b3
Add an unrecognized option error, with translations from skarnet
3 years ago
Gavin Howard
862d3a1cfc
Fix a typo
3 years ago
Gavin Howard
80ba7c98df
Remove a useless function
3 years ago
Gavin Howard
d31b568d25
Make locale installation more robust
3 years ago
Stefan Esser
c6e18140df
Install real catalog files first, then links for alias names.
3 years ago
Stefan Esser
73d6db2311
Install real catalog files first, then links for alias names.
3 years ago
Gavin Howard
9b1e080cf3
Remove warnings from locale_install.sh
3 years ago
Gavin Howard
aea5bdb808
Use $NLSPATH to install locales
3 years ago
Gavin Howard
7345cb9d20
Change all of the license headers
3 years ago
Gavin Howard
c90cac8ecd
Make install warn when gencat warns
3 years ago
Gavin Howard
5d0d10ed0e
Start moving gencat back to the install step
3 years ago
Gavin Howard
6e70f557df
Move the functions script
3 years ago
Gavin Howard
c1075ce8c6
Make the new locale location work
3 years ago
Gavin Howard
f680e35607
Start the work of installing locales in a better place
3 years ago
Gavin Howard
b2230162f6
Remove the need to use gencat for Alpine systems
3 years ago
Gavin Howard
fa08ee40cd
Move locales
3 years ago
Gavin Howard
5008025c53
Add locale support
...
This is not tested yet!
3 years ago
Gavin Howard
f9687851a2
Remove a useless line of code
3 years ago
Gavin Howard
e26c6f9d0a
Add a readlink function in the install script
3 years ago
Gavin Howard
6649657ced
Remove the use of readlink in install.sh
...
After investigating this, I found that readlink is not specified by
POSIX. However, that does not mean that it was the better solution, as
the use of `ls -dl` and `printf ${L#*-> }` might not have been portable.
The possible issue was the use of `-> ` to get at the link target.
That said, after reading the POSIX standard for `ls`, I found out that
the `-> ` syntax is required by the standard if `ls` is called with the
option `-l` and without the option `-L`. That means that my original
formulation is most portable.
3 years ago
John Regan
aee557ea9d
avoid ./ in symlink paths, use readlink instead of ls to resolve link
3 years ago
Gavin Howard
dbbe325b4e
Remove the use of realpath in the install
...
This is to (hopefully) make the install work on Mac OSX. This issue was
brought to my attention by John Regan (jprjr) on GitHub.
3 years ago
Gavin Howard
5d05715dad
Add a build variable
...
This variable, EXECSUFFIX, makes sure that my bc will not interfere with
other installed bc's.
3 years ago
Gavin Howard
d15e01d625
Make the build system more POSIX-compatible
3 years ago
Gavin Howard
2bc50a9565
Attempt to make install work for mingw
4 years ago
Gavin Howard
1349eba00a
Make the install link relative
4 years ago
Gavin Howard
c494b57d81
Make install work for just dc
4 years ago
Gavin Howard
67cb55dfde
Fix a typo from last commit
4 years ago
Gavin Howard
4ffe5a9252
Start adding the dc
4 years ago
rofl0r
8f19ed91cc
use musl's install.sh instead of install command
...
because MacOS X `install` command is gratuitously different.
taken from https://github.com/rofl0r/install.sh
4 years ago