diff options
author | Luiz Souza <luiz@netgate.com> | 2017-09-15 15:00:59 -0500 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2017-09-15 15:00:59 -0500 |
commit | 3eb019d5214f40e67520c919e3d42ba776d9a212 (patch) | |
tree | 900201e0932add5cfea2af3580ab840786bedacb /build | |
parent | 5d376f2d315490861a30dd41da50165d2f7e6a2d (diff) | |
download | pfsense-3eb019d5214f40e67520c919e3d42ba776d9a212.zip pfsense-3eb019d5214f40e67520c919e3d42ba776d9a212.tar.gz |
Set a default when findroot is not set.
Diffstat (limited to 'build')
-rwxr-xr-x | build/scripts/create_core_pkg.sh | 4 |
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} |