bc: small fixes regarding bc.library

This commit is contained in:
Elie Le Vaillant 2026-01-17 16:46:56 +01:00 committed by Roberto E. Vargas Caballero
parent 41883950c9
commit 46c00d58d5
2 changed files with 3 additions and 3 deletions

2
bc.y
View File

@ -886,7 +886,7 @@ main(int argc, char *argv[])
if (!cflag)
spawn();
if (lflag)
bc(PREFIX "share/misc/bc.library");
bc(PREFIX "/share/misc/bc.library");
while (*argv)
bc(*argv++);

View File

@ -15,8 +15,8 @@ trap "rm -f $proto" EXIT INT QUIT TERM
(set -e
echo d $prefix/bin $prefix/bin 755
echo d $manprefix/man1 $manprefix/man1 755
echo d $prefix/share/misc 755
echo c bc.library $prefix/share/misc/bc.library
echo d $prefix/share/misc $prefix/share/misc 755
echo c bc.library $prefix/share/misc/bc.library 644
ls -ld * make/* |\
awk '
/^-/ && $1 ~ /x/ {