summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-08-03 10:28:22 -0300
committerRenato Botelho <renato@netgate.com>2016-08-03 10:28:22 -0300
commitf6dcb7f5edac5fb398cfde73947268806d0b907a (patch)
treeac2e67f933c060747ecdd30f79ff4041c5023927 /tools/builder_common.sh
parent49de5a2e2407b4c064e1c5bc2074dd0d762a8454 (diff)
downloadpfsense-f6dcb7f5edac5fb398cfde73947268806d0b907a.zip
pfsense-f6dcb7f5edac5fb398cfde73947268806d0b907a.tar.gz
Use already defined variable
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 0a208f2..994c923 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -155,7 +155,7 @@ build_all_kernels() {
LOGFILE="${BUILDER_LOGS}/kernel.${KERNCONF}.${TARGET}.log"
echo ">>> Building $BUILD_KERNEL kernel." | tee -a ${LOGFILE}
- if [ ! -e "${FREEBSD_SRC_DIR}/sys/${TARGET}/conf/${BUILD_KERNEL}" ]; then
+ if [ ! -e "${KERNELCONF}" ]; then
echo ">>> ERROR: Could not find $KERNELCONF"
print_error_pfS
fi
OpenPOWER on IntegriCloud