From 1908d88eb149dd4622934ebd792fa350ba149d42 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Sun, 8 Aug 2010 23:37:32 -0500 Subject: [PATCH] script/makeworld: fix comment and ROOT path resolution --- script/makeworld | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/makeworld b/script/makeworld index 373f024..13aba06 100755 --- a/script/makeworld +++ b/script/makeworld @@ -11,7 +11,7 @@ omg() { printf " \033[1;33m*\033[0m %s\n" "${*}"; } wtf() { printf " \033[1;31m* FAIL\033[0m %s\n" "${*}"; exit 1; } # Root directory of worlds -ROOT="$(realpath "$(dirname "${0}")")" +ROOT="$(realpath "$(dirname "${0}")/..")" # Target directory tgtdir="${target}/${config}" @@ -35,7 +35,7 @@ CONFIG=${config} # Invoke sanitized environment sudo env -i ${env} sh <<"EOF" # Inherited by env -#HOME=/usr/home/cyberleo/worlds +#ROOT=/usr/home/cyberleo/worlds #MAKEOPTS=-j8 #TARGET=amd64 #CONFIG=GENERIC -- 2.42.0