diff options
author | Renato Botelho <renato@netgate.com> | 2015-08-25 12:11:31 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-08-25 14:49:58 -0300 |
commit | 1b0a9747e01402744ea05350d148c96cf4cf8bea (patch) | |
tree | 720abad0bc0d59218e8cc5c176d775dc09d3a0b7 /tools/builder_defaults.sh | |
parent | 77308bce20349577191347a239ea525c7df4f0e6 (diff) | |
download | pfsense-1b0a9747e01402744ea05350d148c96cf4cf8bea.zip pfsense-1b0a9747e01402744ea05350d148c96cf4cf8bea.tar.gz |
Remove local from declarations out of functions
Diffstat (limited to 'tools/builder_defaults.sh')
-rw-r--r-- | tools/builder_defaults.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh index 7ebee6d..5f04f4b 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -125,7 +125,7 @@ if [ -z "${PRODUCT_VERSION}" ]; then fi # Product repository tag to build -local _cur_git_repo_branch_or_tag=$(git -C ${BUILDER_ROOT} rev-parse --abbrev-ref HEAD) +_cur_git_repo_branch_or_tag=$(git -C ${BUILDER_ROOT} rev-parse --abbrev-ref HEAD) if [ "${_cur_git_repo_branch_or_tag}" = "HEAD" ]; then # We are on a tag, lets find out its name export GIT_REPO_BRANCH_OR_TAG=$(git -C ${BUILDER_ROOT} describe --tags) @@ -156,7 +156,7 @@ export EXTRA_TOOLS=${EXTRA_TOOLS:-"uuencode uudecode ex"} export KERNEL_BUILD_PATH=${KERNEL_BUILD_PATH:-"${SCRATCHDIR}/kernels"} # Controls how many concurrent make processes are run for each stage -local _CPUS="" +_CPUS="" if [ -z "${NO_MAKEJ}" ]; then _CPUS=$(expr $(sysctl -n kern.smp.cpus) '*' 2) if [ -n "${_CPUS}" ]; then @@ -233,7 +233,7 @@ export NANO_BOOT0CFG="-o packet -s 1 -m 3" # NOTE: Date string is used for creating file names of images # The file is used for sharing the same value with build_snapshots.sh -local _BUILDER_EPOCH=$(date +"%s") +_BUILDER_EPOCH=$(date +"%s") export DATESTRINGFILE=${DATESTRINGFILE:-"$SCRATCHDIR/version.snapshots"} if [ "${DATESTRING}" = "" ]; then if [ -f $DATESTRINGFILE ]; then |