The distro variable should be available to subprocesses
authorJason Self <j@jxself.org>
Sat, 19 Aug 2017 20:49:43 +0000 (13:49 -0700)
committerJason Self <j@jxself.org>
Sat, 19 Aug 2017 20:49:43 +0000 (13:49 -0700)
stage0.sh

index dcadd0d07d4fea42d12843e1fa5557aa3bb9af0b..31a695a0830941a3d675017766e749fb76dd4c07 100755 (executable)
--- a/stage0.sh
+++ b/stage0.sh
@@ -17,7 +17,7 @@ set -euo pipefail
 # License along with this file. If not, see
 # <http://www.gnu.org/licenses/>.
 
-distro=selfix
+export distro=selfix
 
 check_if_root () {
     if [[ $EUID -ne 0 ]]; then