bc: small fixes regarding bc.library - sbase - suckless unix tools
HTML git clone git://git.suckless.org/sbase
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 46c00d58d59b9be55c4dcdb11605a90baa60d310
DIR parent 41883950c9421cdb8fac18f5dd3dab8f7e2463e5
HTML Author: Elie Le Vaillant <eolien55@disroot.org>
Date: Sat, 17 Jan 2026 16:46:56 +0100
bc: small fixes regarding bc.library
Diffstat:
M bc.y | 2 +-
M scripts/mkproto | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
DIR diff --git a/bc.y b/bc.y
@@ -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++);
DIR diff --git a/scripts/mkproto b/scripts/mkproto
@@ -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/ {