tools: Make replace-stdint.sh search in libluna/ instead of luna/
This commit is contained in:
parent
ff770b7328
commit
6512e9549e
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user