summaryrefslogtreecommitdiffhomepage
path: root/once
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-18 17:32:09 -0400
committermidipix <writeonce@midipix.org>2018-05-18 17:32:09 -0400
commit6e8f8861c5424b9ebe0a54e423ff396a42444e3e (patch)
tree88c497b800a63b4af48d1f72a0f5589d70922503 /once
parentcf0fbba899ed57903e3679562ee562c641b2d77c (diff)
downloadmpackage-6e8f8861c5424b9ebe0a54e423ff396a42444e3e.tar.bz2
mpackage-6e8f8861c5424b9ebe0a54e423ff396a42444e3e.tar.xz
custom setup: added --defroot and --product support.
Diffstat (limited to 'once')
-rwxr-xr-xonce/install.bat17
1 files changed, 16 insertions, 1 deletions
diff --git a/once/install.bat b/once/install.bat
index 3dde082..5d285f9 100755
--- a/once/install.bat
+++ b/once/install.bat
@@ -1,6 +1,7 @@
@echo off
-if "!%SYSROOT%!"=="!!" goto sysroot_missing
+if "!%SYSROOT%!"=="!!" goto sysroot_missing
+if "!%SYSROOT%!"=="!@sysroot@!" goto sysroot_invalid
pushd "%~dp0"
@@ -35,3 +36,17 @@ echo.
@pause
exit /B 1
+
+
+:sysroot_invalid
+
+echo.
+echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+echo this is the @product@ installation script
+echo SYSROOT is invalid! Will do nothing...
+echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+echo.
+
+@pause
+
+exit /B 1