tools: Make replace-stdint.sh search in libluna/ instead of luna/

This commit is contained in:
apio 2023-03-10 21:30:59 +01:00
parent ff770b7328
commit 6512e9549e
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -6,8 +6,8 @@ source $(dirname $0)/env.sh
cd $LUNA_ROOT cd $LUNA_ROOT
SOURCES=($(find kernel/src -type f | grep -v "\.asm" | grep -v "bootboot.h")) SOURCES=($(find kernel/src -type f | grep -v "\.asm" | grep -v "bootboot.h"))
SOURCES+=($(find luna/src -type f)) SOURCES+=($(find libluna/src -type f))
SOURCES+=($(find luna/include/luna -type f | grep -v "Types.h")) SOURCES+=($(find libluna/include/luna -type f | grep -v "Types.h"))
for f in ${SOURCES[@]} for f in ${SOURCES[@]}
do do
@ -23,4 +23,4 @@ do
sed -i 's/size_t/usize/g' $f sed -i 's/size_t/usize/g' $f
sed -i 's/ssize_t/isize/g' $f sed -i 's/ssize_t/isize/g' $f
done done