source: jhalfs@ 323ae3e

ablfs-more legacy trunk
Last change on this file since 323ae3e was f5ecc28, checked in by Pierre Labastie <pierre@…>, 5 years ago

Add code to save work at the end of chapter 5
(and finish the rebuild-makefile change)

  • Property mode set to 100755
File size: 14.3 KB
RevLine 
[4da2512]1#!/bin/bash
2# $Id$
3set -e
[bbcdeab]4# Pass trap handlers to functions
5set -E
[4da2512]6
7# VT100 colors
8declare -r RED=$'\e[31m'
9declare -r GREEN=$'\e[32m'
10declare -r YELLOW=$'\e[33m'
11
[0e4ddfa]12# shellcheck disable=SC2034
13declare -r BLUE=$'\e[34m'
[4da2512]14declare -r OFF=$'\e[0m'
15declare -r BOLD=$'\e[1m'
16declare -r tab_=$'\t'
17declare -r nl_=$'\n'
18
[0e4ddfa]19# shellcheck disable=SC2034
[4da2512]20declare -r DD_BORDER="${BOLD}==============================================================================${OFF}"
[0e4ddfa]21# shellcheck disable=SC2034
[4da2512]22declare -r SD_BORDER="${BOLD}------------------------------------------------------------------------------${OFF}"
[0e4ddfa]23# shellcheck disable=SC2034
[4da2512]24declare -r STAR_BORDER="${BOLD}******************************************************************************${OFF}"
25
26# bold yellow > < pair
27declare -r R_arrow=$'\e[1;33m>\e[0m'
28declare -r L_arrow=$'\e[1;33m<\e[0m'
29
30
31#>>>>>>>>>>>>>>>ERROR TRAPPING >>>>>>>>>>>>>>>>>>>>
32#-----------------------#
33simple_error() { # Basic error trap.... JUST DIE
34#-----------------------#
[0e4ddfa]35 LASTLINE="$1"
36 LASTERR="$2"
37 LASTSOURCE="$4"
38 error_message "${GREEN} Error $LASTERR at $LASTSOURCE line ${LASTLINE}!"
[4da2512]39}
40
41see_ya() {
[0e4ddfa]42 printf '\n%b%bjhalfs%b exit%b\n' "$L_arrow" "$BOLD" "$R_arrow" "$OFF"
[4da2512]43}
44##### Simple error TRAPS
45# ctrl-c SIGINT
46# ctrl-y
47# ctrl-z SIGTSTP
48# SIGHUP 1 HANGUP
49# SIGINT 2 INTRERRUPT FROM KEYBOARD Ctrl-C
50# SIGQUIT 3
51# SIGKILL 9 KILL
52# SIGTERM 15 TERMINATION
53# SIGSTOP 17,18,23 STOP THE PROCESS
54#####
55set -e
56trap see_ya 0
[bbcdeab]57trap 'simple_error "${LINENO}" "$?" "${FUNCNAME}" "${BASH_SOURCE}"' ERR
[d505128]58trap 'echo -e "\n\n${RED}INTERRUPT${OFF} trapped\n" && exit 2' \
59 HUP INT QUIT TERM # STOP stops tterminal output and does not seem to
60 # execute the handler
[4da2512]61#>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
62
[0e4ddfa]63simple_message() {
64 # Prevents having to check $VERBOSITY everywhere
65 if [ "$VERBOSITY" -ne 0 ] ; then
66 # shellcheck disable=SC2059
67 printf "$*"
68 fi
69}
70
71warning_message() {
72 simple_message "${YELLOW}\\nWARNING:${OFF} $*\\n\\n"
73}
74
75error_message() {
76 # Prints an error message and exits with LASTERR or 1
77 if [ -n "$LASTERR" ] ; then
78 LASTERR=$(printf '%d' "$LASTERR")
79 else
80 LASTERR=1
81 fi
82 # If +e then disable text output
83 if [[ "$-" =~ e ]]; then
84 printf '\n\n%bERROR:%b %s\n' "$RED" "$OFF" "$*" >&2
85 fi
86 exit "$LASTERR"
87}
88
89load_file() {
90 # source files in a consistent way with an optional message
91 file="$1"
92 shift
93 msg="Loading file ${file}..."
94 [ -z "$*" ] || msg="$*..."
95 simple_message "$msg"
96
97 # shellcheck disable=SC1090
98 source "$file" 2>/dev/null || error_message "$file did not load"
99 simple_message "OK\\n"
100}
101
[4da2512]102version="
[8d56c87]103${BOLD} \"jhalfs\"${OFF} builder tool (development) \$Rev$
[f596dde]104 \$Date$
[4da2512]105
[f596dde]106 Copyright (C) 2005-2019, the jhalfs team:
107 Jeremy Huntwork
108 George Boudreau
109 Manuel Canales Esparcia
110 Thomas Pegg
111 Matthew Burgess
112 Pierre Labastie
[4da2512]113
[f596dde]114 Unless specified, all the files in this directory and its sub-directories
115 are subjected to the ${BOLD}MIT license${OFF}. See the ${BOLD}LICENSE${OFF} file.
[4da2512]116
[f596dde]117 The files in the ${BOLD}menu${OFF} directory are subjected to the ${BOLD}ISC License${OFF}.
118 See ${BOLD}LICENSE.txt${OFF} and ${BOLD}README${OFF} in that directory.
[4da2512]119"
120
[f596dde]121usage="${nl_}${tab_}${BOLD}${RED}This script cannot be called directly${OFF}
122${tab_}Type ${BOLD}make${OFF} to run the tool, or
123${tab_}Type ${BOLD}./jhalfs -v${OFF} to display version information."
124
[4da2512]125case $1 in
[909ee37]126 -v ) echo "$version" && exit ;;
[4da2512]127 run ) : ;;
[f596dde]128 * ) echo "$usage" && exit 1 ;;
[4da2512]129esac
130
[65c998b]131# If the user has not saved his configuration file, let's ask
132# if he or she really wants to run this stuff
[a22bfe1]133time_current=$(stat -c '%Y' configuration 2>/dev/null || date +%s)
[cf2f109]134time_old=$(stat -c '%Y' configuration.old 2>/dev/null || printf '%s' "$time_current")
[a22bfe1]135if [ "$(printf '%d' "$time_old")" -ge "$(printf '%d' "$time_current")" ] ; then
136 printf 'Do you want to run jhalfs? yes/no (yes): '
[0e4ddfa]137 read -r ANSWER
[a22bfe1]138 case ${ANSWER:0:1} in
139 n|N) printf "\nExiting gracefully.\n"; exit ;;
140 esac
[65c998b]141fi
142
143# Change this to 0 to suppress almost all messages
[4da2512]144VERBOSITY=1
145
[0e4ddfa]146load_file configuration "Loading config params from <configuration>"
[4da2512]147
148# These are boolean vars generated from Config.in.
[7072e1f]149# ISSUE: If a boolean parameter is not set to y(es) there
150# is no variable defined by the menu app. This can
151# cause a headache if you are not aware.
152# The following variables MUST exist. If they don't, the
153# default value is n(o).
[4da2512]154RUNMAKE=${RUNMAKE:-n}
155GETPKG=${GETPKG:-n}
156COMPARE=${COMPARE:-n}
157RUN_ICA=${RUN_ICA:-n}
[7072e1f]158PKGMNGT=${PKGMNGT:-n}
[945ccaa]159WRAP_INSTALL=${WRAP_INSTALL:-n}
[4da2512]160BOMB_TEST=${BOMB_TEST:-n}
161STRIP=${STRIP:=n}
162REPORT=${REPORT:=n}
[085435e]163NCURSES5=${NCURSES5:-n}
[dc7fd7b]164DEL_LA_FILES=${DEL_LA_FILES:-n}
[b339c94]165FULL_LOCALE=${FULL_LOCALE:-n}
[4da2512]166GRSECURITY_HOST=${GRSECURITY_HOST:-n}
[9a536f7]167CUSTOM_TOOLS=${CUSTOM_TOOLS:-n}
[a16f769]168REBUILD_MAKEFILE=${REBUILD_MAKEFILE:-n}
[93346ee]169INSTALL_LOG=${INSTALL_LOG:-n}
[486e9a7]170CLEAN=${CLEAN:=n}
[d035526]171SET_SSP=${SET_SSP:=n}
172SET_ASLR=${SET_ASLR:=n}
173SET_PAX=${SET_PAX:=n}
174SET_HARDENED_TMP=${SET_HARDENED_TMP:=n}
175SET_WARNINGS=${SET_WARNINGS:=n}
176SET_MISC=${SET_MISC:=n}
177SET_BLOWFISH=${SET_BLOWFISH:=n}
[945ccaa]178UNICODE=${UNICODE:=n}
[3b43e17b]179LOCAL=${LOCAL:=n}
[84a3fda]180REALSBU=${REALSBU:=n}
[f5ecc28]181SAVE_CH5=${SAVE_CH5:=n}
[4da2512]182
[75d6d1c]183if [[ "${NO_PROGRESS_BAR}" = "y" ]] ; then
[0e4ddfa]184# shellcheck disable=SC2034
185 NO_PROGRESS="#"
[75d6d1c]186fi
187
188
[38ae01f]189# Sanity check on the location of $BUILDDIR / $JHALFSDIR
[0e4ddfa]190CWD="$(cd "$(dirname "$0")" && pwd)"
191if [[ $JHALFSDIR == "$CWD" ]]; then
192 echo " The jhalfs source directory conflicts with the jhalfs build directory."
193 echo " Please move the source directory or change the build directory."
194 exit 2
[38ae01f]195fi
196
[0873ccc]197# Book sources envars
[4965fa8]198BRANCH_ID=${BRANCH_ID:=development}
199
200case $BRANCH_ID in
201 development )
202 case $PROGNAME in
[92b7cb8]203 clfs* ) TREE="" ;;
[c4ad7bf]204 * ) TREE=trunk/BOOK ;;
[4965fa8]205 esac
206 LFSVRS=development
207 ;;
208 *EDIT* ) echo " You forgot to set the branch or stable book version."
209 echo " Please rerun make and fix the configuration."
210 exit 2 ;;
211 branch-* )
[c4ad7bf]212 case $PROGNAME in
213 lfs )
214 LFSVRS=${BRANCH_ID}
[bb2862d]215 TREE=branches/${BRANCH_ID#branch-}
[dd08e14]216 if [ ${BRANCH_ID:7:1} = 6 ]; then
[bb2862d]217 TREE=${TREE}/BOOK
218 fi
[c4ad7bf]219 ;;
220 clfs* )
221 LFSVRS=${BRANCH_ID}
222 TREE=${BRANCH_ID#branch-}
223 ;;
224 esac
[4965fa8]225 ;;
226 * )
227 case $PROGNAME in
[e650dc7]228 lfs )
229 LFSVRS=${BRANCH_ID}
230 TREE=tags/${BRANCH_ID}
231 if (( ${BRANCH_ID:0:1} < 7 )) ; then
232 TREE=${TREE}/BOOK
233 fi
234 ;;
235 hlfs )
[4965fa8]236 LFSVRS=${BRANCH_ID}
237 TREE=tags/${BRANCH_ID}/BOOK
238 ;;
[92b7cb8]239 clfs* )
[4965fa8]240 LFSVRS=${BRANCH_ID}
[34d1b6a]241 TREE=clfs-${BRANCH_ID}
[4965fa8]242 ;;
[92b7cb8]243 * )
[4965fa8]244 esac
245 ;;
246esac
247
[4da2512]248# Set the document location...
[1cf621b]249BOOK=${BOOK:=$JHALFSDIR/$PROGNAME-$LFSVRS}
[4da2512]250
[4965fa8]251
[728955b]252#--- Envars not sourced from configuration
[0e4ddfa]253# shellcheck disable=SC2034
[728955b]254case $PROGNAME in
[0e4ddfa]255 clfs ) declare -r GIT="git://git.clfs.org/cross-lfs" ;;
256 clfs2 ) declare -r GIT="git://git.clfs.org/clfs-sysroot" ;;
257 clfs3 ) declare -r GIT="git://git.clfs.org/clfs-embedded" ;;
258 *) declare -r SVN="svn://svn.linuxfromscratch.org" ;;
[728955b]259esac
[0e4ddfa]260
[728955b]261declare -r LOG=000-masterscript.log
[0e4ddfa]262# Needed for fetching BLFS book sources when building CLFS
263# shellcheck disable=SC2034
[728955b]264declare -r SVN_2="svn://svn.linuxfromscratch.org"
265
[4da2512]266# Set true internal variables
267COMMON_DIR="common"
[0e4ddfa]268PACKAGE_DIR=$(echo "$PROGNAME" | tr '[:lower:]' '[:upper:]')
[4da2512]269MODULE=$PACKAGE_DIR/master.sh
[7072e1f]270PKGMNGTDIR="pkgmngt"
271# The name packageManager.xml is hardcoded in *.xsl, so no variable.
[4da2512]272
[0e4ddfa]273for file in \
274 "$COMMON_DIR/common-functions" \
275 "$COMMON_DIR/libs/func_book_parser" \
276 "$COMMON_DIR/libs/func_download_pkgs" \
277 "$COMMON_DIR/libs/func_wrt_Makefile" \
278 "$MODULE" ; do
279 load_file "$file"
280done
[9a536f7]281
[0e4ddfa]282simple_message "${SD_BORDER}${nl_}"
[9a536f7]283
284
[0e4ddfa]285#*******************************************************************#
286LASTERR=2
287for file in \
288 "$COMMON_DIR/libs/func_check_version.sh" \
289 "$COMMON_DIR/libs/func_validate_configs.sh" \
290 "$COMMON_DIR/libs/func_custom_pkgs" ; do
291 load_file "$file"
292done
293unset LASTERR
294
295simple_message "${SD_BORDER}${nl_}"
[183cc33]296simple_message "Checking tools required for jhalfs${nl_}"
[6ed3dd7]297check_alfs_tools
[0e4ddfa]298simple_message "${SD_BORDER}${nl_}"
[4da2512]299
[e576789]300# blfs-tool envars
301BLFS_TOOL=${BLFS_TOOL:-n}
302if [[ "${BLFS_TOOL}" = "y" ]] ; then
[0e4ddfa]303 simple_message 'Checking supplementary tools for installing BLFS'
[6ed3dd7]304 check_blfs_tools
[0e4ddfa]305 simple_message "${SD_BORDER}${nl_}"
[854854e]306 BLFS_SVN=${BLFS_SVN:-n}
307 BLFS_WORKING_COPY=${BLFS_WORKING_COPY:-n}
308 BLFS_BRANCH=${BLFS_BRANCH:-n}
309 if [[ "${BLFS_SVN}" = "y" ]]; then
310 BLFS_BRANCH_ID=development
311 BLFS_TREE=trunk/BOOK
312 elif [[ "${BLFS_WORKING_COPY}" = "y" ]]; then
[0e4ddfa]313 if [[ ! -d "$BLFS_WC_LOCATION/postlfs" ]] ; then
[854854e]314 echo " BLFS tools: This is not a working copy: $BLFS_WC_LOCATION."
315 echo " Please rerun make and fix the configuration."
316 exit 2
[0e4ddfa]317 fi
318 BLFS_TREE=$(cd "$BLFS_WC_LOCATION"; svn info | grep '^URL' | sed 's@.*BLFS/@@')
319 BLFS_BRANCH_ID=$(echo "$BLFS_TREE" | sed -e 's@trunk/BOOK@development@' \
320 -e 's@branches/@branch-@' \
321 -e 's@tags/@@' \
322 -e 's@/BOOK@@')
[0ba80be]323 elif [[ "${BLFS_BRANCH}" = "y" ]] ; then
[854854e]324 case $BLFS_BRANCH_ID in
325 *EDIT* ) echo " You forgot to set the BLFS branch or stable book version."
326 echo " Please rerun make and fix the configuration."
327 exit 2 ;;
[dd08e14]328 branch-6.* ) BLFS_TREE=branches/${BLFS_BRANCH_ID#branch-}/BOOK ;;
329 branch-* ) BLFS_TREE=branches/${BLFS_BRANCH_ID#branch-} ;;
[91b5249]330 [isv]* | 6.3* ) BLFS_TREE=tags/${BLFS_BRANCH_ID}/BOOK ;;
331 * ) BLFS_TREE=tags/${BLFS_BRANCH_ID} ;;
[854854e]332 esac
333 fi
[0e4ddfa]334 load_file "${COMMON_DIR}/libs/func_install_blfs"
[e576789]335fi
[4da2512]336
337###################################
338### MAIN ###
339###################################
340
341
342validate_config
343echo "${SD_BORDER}${nl_}"
344echo -n "Are you happy with these settings? yes/no (no): "
[0e4ddfa]345read -r ANSWER
346if [ "x$ANSWER" != "xyes" ] ; then
[881c96f]347 echo "${nl_}Rerun make to fix the configuration options.${nl_}"
[d023a35]348 exit
[4da2512]349fi
350echo "${nl_}${SD_BORDER}${nl_}"
351
352# Load additional modules or configuration files based on global settings
353# compare module
354if [[ "$COMPARE" = "y" ]]; then
[0e4ddfa]355 load_file "${COMMON_DIR}/libs/func_compare.sh" 'Loading compare module'
[4da2512]356fi
357#
[f5ecc28]358# save module
359if [[ "$SAVE_CH5" = "y" ]]; then
360 load_file "${COMMON_DIR}/libs/func_save.sh" 'Loading save module'
361fi
362#
[4da2512]363# optimize module
364if [[ "$OPTIMIZE" != "0" ]]; then
[0e4ddfa]365 load_file optimize/optimize_functions 'Loading optimization module'
[4da2512]366 #
367 # optimize configurations
[0e4ddfa]368 load_file optimize/opt_config 'Loading optimization config'
[854854e]369 # The number of parallel jobs is taken from configuration now
[0e4ddfa]370 # shellcheck disable=SC2034
[854854e]371 MAKEFLAGS="-j${N_PARALLEL}"
[4da2512]372 # Validate optimize settings, if required
373 validate_opt_settings
374fi
375#
376
[a16f769]377if [[ "$REBUILD_MAKEFILE" = "n" ]] ; then
[4da2512]378
[200fbde]379# If requested, clean the build directory
[7b6ecc5]380 clean_builddir
[4da2512]381
[7b6ecc5]382 if [[ ! -d $JHALFSDIR ]]; then
[0e4ddfa]383 sudo mkdir -p "$JHALFSDIR"
384 sudo chown "$USER":"$USER" "$JHALFSDIR"
[7b6ecc5]385 fi
[3e7ceed]386
[200fbde]387# Create $BUILDDIR/sources even though it could be created by get_sources()
[7b6ecc5]388 if [[ ! -d $BUILDDIR/sources ]]; then
[0e4ddfa]389 sudo mkdir -p "$BUILDDIR/sources"
390 sudo chmod a+wt "$BUILDDIR/sources"
[7b6ecc5]391 fi
[200fbde]392
393# Create the log directory
[7b6ecc5]394 if [[ ! -d $LOGDIR ]]; then
[0e4ddfa]395 mkdir "$LOGDIR"
[7b6ecc5]396 fi
[0e4ddfa]397 true >"$LOGDIR/$LOG"
[200fbde]398
399# Copy common helper files
[0e4ddfa]400 cp "$COMMON_DIR"/{makefile-functions,progress_bar.sh} "$JHALFSDIR/"
[200fbde]401
402# Copy needed stylesheets
[0e4ddfa]403 cp "$COMMON_DIR"/{packages.xsl,chroot.xsl,kernfs.xsl} "$JHALFSDIR/"
[200fbde]404
405# Fix the XSL book parser
[92b7cb8]406 case $PROGNAME in
[0e4ddfa]407 clfs* ) sed 's,FAKEDIR,'"${BOOK}/BOOK"',' "${PACKAGE_DIR}/${XSL}" > "${JHALFSDIR}/${XSL}" ;;
408 lfs | hlfs ) sed 's,FAKEDIR,'"$BOOK"',' "${PACKAGE_DIR}/${XSL}" > "${JHALFSDIR}/${XSL}" ;;
[92b7cb8]409 * ) ;;
410 esac
[3e7ceed]411 export XSL=$JHALFSDIR/${XSL}
[7b6ecc5]412
[200fbde]413# Copy packageManager.xml, if needed
[3aa1acd]414 [[ "$PKGMNGT" = "y" ]] && [[ "$PROGNAME" = "lfs" ]] && {
[0e4ddfa]415 cp "$PKGMNGTDIR/packageManager.xml" "$JHALFSDIR/"
416 cp "$PKGMNGTDIR/packInstall.sh" "$JHALFSDIR/"
[3aa1acd]417 }
[200fbde]418
419# Copy urls.xsl, if needed
[0e4ddfa]420 [[ "$GETPKG" = "y" ]] && cp "$COMMON_DIR/urls.xsl" "$JHALFSDIR/"
[200fbde]421
[c672fa8]422# Always create the test-log directory to allow user to "uncomment" test
423# instructions
[0e4ddfa]424 install -d -m 1777 "$TESTLOGDIR"
[200fbde]425
426# Create the installed-files directory, if needed
[0e4ddfa]427 [[ "$INSTALL_LOG" = "y" ]] && [[ ! -d $FILELOGDIR ]] && install -d -m 1777 "$FILELOGDIR"
[200fbde]428
429# Prepare report creation, if needed
[7b6ecc5]430 if [[ "$REPORT" = "y" ]]; then
[0e4ddfa]431 cp $COMMON_DIR/create-sbu_du-report.sh "$JHALFSDIR/"
[7072e1f]432 # After making sure that all looks sane, dump the settings to a file
[7b6ecc5]433 # This file will be used to create the REPORT header
[0e4ddfa]434 validate_config >"$JHALFSDIR/jhalfs.config"
[7b6ecc5]435 fi
[200fbde]436
437# Copy optimize files, if needed
[0e4ddfa]438 [[ "$OPTIMIZE" != "0" ]] && cp optimize/opt_override "$JHALFSDIR/"
[200fbde]439
440# Copy compare files, if needed
[3e7ceed]441 if [[ "$COMPARE" = "y" ]]; then
[0e4ddfa]442 mkdir -p "$JHALFSDIR/extras"
443 cp extras/* "$JHALFSDIR/extras"
[3e7ceed]444 fi
[200fbde]445
446# Copy custom tools config files, if requested
[3e7ceed]447 if [[ "${CUSTOM_TOOLS}" = "y" ]]; then
448 echo "Copying custom tool scripts to $JHALFSDIR"
[0e4ddfa]449 mkdir -p "$JHALFSDIR/custom-commands"
450 cp -f custom/config/* "$JHALFSDIR/custom-commands"
[3e7ceed]451 fi
[200fbde]452
[f733772]453# Download or updates the book source
454# Note that all customization to $JHALFSDIR have to be done before this.
455# But the LFS book is needed for BLFS tools.
456 get_book
457 extract_commands
458 echo "${SD_BORDER}${nl_}"
[0e4ddfa]459 cd "$CWD" # the functions above change directory
[f733772]460
[200fbde]461# Install blfs-tool, if requested.
[7b6ecc5]462 if [[ "${BLFS_TOOL}" = "y" ]] ; then
[6ed3dd7]463 echo Installing BLFS book and tools
[0e4ddfa]464 install_blfs_tools 2>&1 | tee -a "$LOGDIR/$LOG"
[bbcdeab]465 [[ ${PIPESTATUS[0]} != 0 ]] && exit 1
[7b6ecc5]466 fi
467
[4965fa8]468fi
469
[e576789]470# When regenerating the Makefile, we need to know also the
471# canonical book version
[0e4ddfa]472# shellcheck disable=SC2034
[a16f769]473if [[ "$REBUILD_MAKEFILE" = "y" ]] ; then
474 case $PROGNAME in
[92b7cb8]475 clfs* )
[0e4ddfa]476 VERSION=$(xmllint --noent "$BOOK/prologue/$ARCH/bookinfo.xml" 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;;
[c9598f2]477 lfs)
478 if [[ "$INITSYS" = "sysv" ]] ; then
[0e4ddfa]479 VERSION=$(grep 'ENTITY version ' "$BOOK/general.ent" | cut -d\" -f2)
[c9598f2]480 else
[0e4ddfa]481 VERSION=$(grep 'ENTITY versiond' "$BOOK/general.ent" | cut -d\" -f2)
[c9598f2]482 fi
483 ;;
[a16f769]484 *)
[0e4ddfa]485 VERSION=$(xmllint --noent "$BOOK/prologue/bookinfo.xml" 2>/dev/null | grep subtitle | sed -e 's/^.*ion //' -e 's/<\/.*//') ;;
[a16f769]486 esac
487fi
488
[4da2512]489build_Makefile
[3e7ceed]490
[4da2512]491echo "${SD_BORDER}${nl_}"
492
[1cf621b]493# Check for build prerequisites.
494 echo
[0e4ddfa]495 cd "$CWD"
[1cf621b]496 check_prerequisites
497 echo "${SD_BORDER}${nl_}"
498# All is well, run the build (if requested)
[4da2512]499run_make
Note: See TracBrowser for help on using the repository browser.