summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorLuiz Souza <luiz@netgate.com>2017-09-15 15:00:59 -0500
committerLuiz Souza <luiz@netgate.com>2017-09-15 15:00:59 -0500
commit3eb019d5214f40e67520c919e3d42ba776d9a212 (patch)
tree900201e0932add5cfea2af3580ab840786bedacb /build
parent5d376f2d315490861a30dd41da50165d2f7e6a2d (diff)
downloadpfsense-3eb019d5214f40e67520c919e3d42ba776d9a212.zip
pfsense-3eb019d5214f40e67520c919e3d42ba776d9a212.tar.gz
Set a default when findroot is not set.
Diffstat (limited to 'build')
-rwxr-xr-xbuild/scripts/create_core_pkg.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/scripts/create_core_pkg.sh b/build/scripts/create_core_pkg.sh
index 13c2687..8da840c 100755
--- a/build/scripts/create_core_pkg.sh
+++ b/build/scripts/create_core_pkg.sh
@@ -130,7 +130,9 @@ else
filter="-name ${filter}"
fi
echo ${root}
- : ${findroot="."}
+ if [ -z "${findroot}" ]; then
+ findroot="."
+ fi
echo ${findroot}
for froot in ${findroot}; do
echo froot ${froot}
OpenPOWER on IntegriCloud