summaryrefslogtreecommitdiffhomepage
path: root/once
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-05-10 14:39:58 +0000
committermidipix <writeonce@midipix.org>2018-05-16 04:45:11 -0400
commit701104339f6c98bc3ce570164ab1e38ea6093d15 (patch)
tree2d2f80360c59139e173dbe8aabad988c7d5366b0 /once
parentb864e26805bc9d552f7bc1415a1e0e5db0ad1555 (diff)
downloadmpackage-701104339f6c98bc3ce570164ab1e38ea6093d15.tar.bz2
mpackage-701104339f6c98bc3ce570164ab1e38ea6093d15.tar.xz
installation environment: setup.sh: initial integration.
Diffstat (limited to 'once')
-rwxr-xr-xonce/bash.bat2
-rwxr-xr-xonce/setup.sh10
2 files changed, 11 insertions, 1 deletions
diff --git a/once/bash.bat b/once/bash.bat
index 1a4ee3f..57f5ceb 100755
--- a/once/bash.bat
+++ b/once/bash.bat
@@ -5,7 +5,7 @@ pushd "%~dp0"
set shell_sysroot=%cd%
set SYSROOT=@sysroot@
-start bin\ntctty.exe --sysroot %shell_sysroot% --exec /bin/mintty -d -h always --window max --exec /bin/bash --init-file /etc/init.sh -i
+start bin\ntctty.exe --sysroot %shell_sysroot% --exec /bin/mintty -d -h always --window max --exec /bin/bash --init-file /setup.sh -i
popd
diff --git a/once/setup.sh b/once/setup.sh
new file mode 100755
index 0000000..3d4fe44
--- /dev/null
+++ b/once/setup.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+. /etc/init.sh
+
+echo
+echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+echo SYSROOT set to $SYSROOT
+echo to install the @product@ distro sysroot, invoke /install.sh
+echo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+echo