set statusdir only after confirmed directory setup
svn path=/trunk/; revision=31291
This commit is contained in:
@@ -66,7 +66,6 @@ olang="${olang:-en}"
|
||||
tree="${tree:-$basedir}"
|
||||
readonly tree="${tree:+$(realpath "$tree")}"
|
||||
readonly basedir="${basedir:+$(realpath "$basedir")}"
|
||||
readonly statusdir="${statusdir:+$(realpath "$statusdir")}"
|
||||
readonly target="${target:+$(realpath "$target")}"
|
||||
readonly domain="${domain:-www.fsfe.org}"
|
||||
readonly command
|
||||
|
||||
@@ -30,6 +30,7 @@ if [ -n "$statusdir" ]; then
|
||||
"either select a status directory that exists and is writable,\n" \
|
||||
"or run the build script without output to a status directory"
|
||||
fi
|
||||
readonly statusdir="${statusdir:+$(realpath "$statusdir")}"
|
||||
|
||||
case "$command" in
|
||||
build_into) build_into ;;
|
||||
|
||||
Reference in New Issue
Block a user