From 913b13b38035f590aecff1624a63c0006bebece8 Mon Sep 17 00:00:00 2001 From: apio Date: Fri, 23 Dec 2022 10:46:44 +0100 Subject: [PATCH] Fix up the header install script --- tools/install-headers.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/install-headers.sh b/tools/install-headers.sh index eed3b849..665ef7e2 100755 --- a/tools/install-headers.sh +++ b/tools/install-headers.sh @@ -5,10 +5,10 @@ source $(dirname $0)/env.sh cd $LUNA_ROOT -mkdir -p base -mkdir -p base/usr/include -mkdir -p base/usr/include/moon -mkdir -p base/usr/include/luna +mkdir -p $LUNA_BASE +mkdir -p $LUNA_BASE/usr/include +mkdir -p $LUNA_BASE/usr/include/moon +mkdir -p $LUNA_BASE/usr/include/luna -cp -RT kernel/**/*.h base/usr/include/moon -cp -RT luna/*.h base/usr/include/luna \ No newline at end of file +cp -RT kernel/**/*.h $LUNA_BASE/usr/include/moon +cp -RT luna/*.h $LUNA_BASE/usr/include/luna \ No newline at end of file