summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xmpackage.sh1
-rwxr-xr-xonce/install.bat2
2 files changed, 2 insertions, 1 deletions
diff --git a/mpackage.sh b/mpackage.sh
index 564abff..79588c7 100755
--- a/mpackage.sh
+++ b/mpackage.sh
@@ -196,6 +196,7 @@ gen_setup()
for f in $(find -type f); do
sed -e 's#@sysroot@#'"$mb_defroot"'#g' \
-e 's#@product@#'"$mb_product"'#g' \
+ -e 's#@SYSROOT@#'"@sysroot@"'#g' \
$f > $f.tmp || exit 2
cat $f.tmp > $f || exit 2
diff --git a/once/install.bat b/once/install.bat
index 5d285f9..32aa371 100755
--- a/once/install.bat
+++ b/once/install.bat
@@ -1,7 +1,7 @@
@echo off
if "!%SYSROOT%!"=="!!" goto sysroot_missing
-if "!%SYSROOT%!"=="!@sysroot@!" goto sysroot_invalid
+if "!%SYSROOT%!"=="!@SYSROOT@!" goto sysroot_invalid
pushd "%~dp0"