Skip to content

Instantly share code, notes, and snippets.

@hamin
Created April 28, 2011 02:47
Show Gist options
  • Save hamin/945695 to your computer and use it in GitHub Desktop.
Save hamin/945695 to your computer and use it in GitHub Desktop.
bdsm_nginx_error.log
> modules/bash/core/cli 203 $ [[ -n '' ]]
> modules/bash/core/cli 203 $ [[ -n '' ]]
> modules/bash/core/cli 9 $ (( 2 > 0 ))
> modules/bash/core/cli 11 $ token=nginx
> modules/bash/core/cli 11 $ shift
> modules/bash/core/cli 13 $ case "$token" in
> modules/bash/core/cli 85 $ [[ -z '' ]]
> modules/bash/core/cli 86 $ [[ -d /usr/local/bdsm/extensions/nginx ]]
> modules/bash/core/cli 87 $ extension=nginx
> modules/bash/core/cli 185 $ (( parse_break == 1 ))
> modules/bash/core/cli 187 $ [[ -z '' ]]
> modules/bash/core/cli 188 $ [[ -x /usr/local/bdsm/extensions/nginx/bin/nginx ]]
> modules/bash/core/cli 203 $ [[ -n '' ]]
> modules/bash/core/cli 203 $ [[ -n '' ]]
> modules/bash/core/cli 9 $ (( 1 > 0 ))
> modules/bash/core/cli 11 $ token=install
> modules/bash/core/cli 11 $ shift
> modules/bash/core/cli 13 $ case "$token" in
> modules/bash/core/cli 85 $ [[ -z nginx ]]
> modules/bash/core/cli 185 $ (( parse_break == 1 ))
> modules/bash/core/cli 187 $ [[ -z '' ]]
> modules/bash/core/cli 188 $ [[ -x /usr/local/bdsm/extensions/nginx/bin/install ]]
> modules/bash/core/cli 189 $ action=install
> modules/bash/core/cli 190 $ extension_args=("$@")
> modules/bash/core/cli 191 $ parse_break=1
> modules/bash/core/cli 203 $ [[ -n 1 ]]
> modules/bash/core/cli 204 $ unset parse_break
> modules/bash/core/cli 205 $ break
> /usr/local/bin/bdsm 56 $ [[ -n '' ]]
> /usr/local/bin/bdsm 61 $ [[ -z nginx ]]
> /usr/local/bin/bdsm 67 $ [[ -z install ]]
> /usr/local/bin/bdsm 75 $ disable_backtrace
> modules/bash/trace/dsl disable_backtrace() 338 $ set +o errexit trap - ERR
> /usr/local/bin/bdsm 76 $ extension_action nginx install
> modules/bash/extensions/dsl extension_action() 46 $ unset extension action
> modules/bash/extensions/dsl extension_action() 47 $ result=0
> modules/bash/extensions/dsl extension_action() 48 $ export extension=nginx
> modules/bash/extensions/dsl extension_action() 48 $ extension=nginx
> modules/bash/extensions/dsl extension_action() 48 $ shift
> modules/bash/extensions/dsl extension_action() 49 $ export action=install
> modules/bash/extensions/dsl extension_action() 49 $ action=install
> modules/bash/extensions/dsl extension_action() 49 $ shift
> modules/bash/extensions/dsl extension_action() 50 $ export extension_args=
> modules/bash/extensions/dsl extension_action() 50 $ extension_args=
> modules/bash/extensions/dsl extension_action() 52 $ [[ -n nginx ]]
> modules/bash/extensions/dsl extension_action() 55 $ [[ -n install ]]
> modules/bash/extensions/dsl extension_action() 58 $ extension_path=/usr/local/bdsm/extensions/nginx
> modules/bash/extensions/dsl extension_action() 59 $ extension_config_path=/usr/local/bdsm/extensions/nginx/config
> modules/bash/extensions/dsl extension_action() 60 $ extension_templates_path=/usr/local/bdsm/extensions/nginx/templates
> modules/bash/extensions/dsl extension_action() 61 $ extension_modules_path=/usr/local/bdsm/extensions/nginx/modules
> modules/bash/extensions/dsl extension_action() 62 $ extension_bin_path=/usr/local/bdsm/extensions/nginx/bin
> modules/bash/extensions/dsl extension_action() 63 $ extension_log_path=/usr/local/bdsm/log/nginx
> modules/bash/extensions/dsl extension_action() 65 $ awk -F= -v 'ORS= ' '/_path/{print $1}'
> modules/bash/extensions/dsl extension_action() 65 $ env
> modules/bash/extensions/dsl extension_action() 65 $ paths='src_path bdsm_path archives_path extension_path extension_templates_path extension_log_path prefix_path extension_bin_path extensions_path templates_path extension_config_path config_path PS4 extension_modules_path modules_path tmp_path '
> modules/bash/extensions/dsl extension_action() 66 $ env
> modules/bash/extensions/dsl extension_action() 66 $ awk -F= -v 'ORS= ' '/_flag/{print $1}'
> modules/bash/extensions/dsl extension_action() 66 $ flags='trace_flag hooks_flag '
> modules/bash/extensions/dsl extension_action() 68 $ enter /usr/local/bdsm/extensions/nginx
> modules/bash/filesystem/dsl enter() 1207 $ local _path=/usr/local/bdsm/extensions/nginx
> modules/bash/filesystem/dsl enter() 1209 $ builtin cd /usr/local/bdsm/extensions/nginx
> modules/bash/extensions/dsl extension_action() 71 $ bdsm_exports
> modules/bash/core/dsl bdsm_exports() 31 $ export action archives_path bdsm_path branch config_path database database_name debug_flag environment error_message extension extension_action extension_args extension_bin_path extension_config_path extension_modules_path extension_path extension_templates_path extensions_path flags framework head_flag hooks_flag keep_releases modules_path old_releases parse_break paths prefix_path previous_path project project_path release_path remote repository result revision shared_path src_path templates_path timestamp tmp_path trace_flag user extension_log_path
> modules/bash/extensions/dsl extension_action() 73 $ action_file=/usr/local/bdsm/extensions/nginx/bin/install
> modules/bash/extensions/dsl extension_action() 75 $ file_exists /usr/local/bdsm/extensions/nginx/bin/install
> modules/bash/filesystem/dsl file_exists() 1351 $ local _file=/usr/local/bdsm/extensions/nginx/bin/install
> modules/bash/filesystem/dsl file_exists() 1353 $ [[ -n /usr/local/bdsm/extensions/nginx/bin/install ]]
> modules/bash/filesystem/dsl file_exists() 1355 $ [[ -f /usr/local/bdsm/extensions/nginx/bin/install ]]
> modules/bash/extensions/dsl extension_action() 78 $ file /usr/local/bdsm/extensions/nginx/bin/install
> modules/bash/extensions/dsl extension_action() 78 $ action_file_type='/usr/local/bdsm/extensions/nginx/bin/install: a bash script text executable'
> modules/bash/extensions/dsl extension_action() 80 $ case "${action_file_type}" in
> modules/bash/extensions/dsl extension_action() 83 $ action_type=bash
> modules/bash/extensions/dsl extension_action() 131 $ case "${action_type}" in
> modules/bash/extensions/dsl extension_action() 134 $ enable_backtrace
> modules/bash/trace/dsl enable_backtrace() 291 $ local _message=
> modules/bash/trace/dsl enable_backtrace() 293 $ [[ -n '' ]]
> modules/bash/trace/dsl enable_backtrace() 297 $ trap 'backtrace "A command has returned an unhandled error code (nonzero return value)."' ERR
> modules/bash/trace/dsl enable_backtrace() 299 $ set -o errexit
> modules/bash/extensions/dsl extension_action() 135 $ modules core
> modules/bash/modules/dsl modules() 32 $ (( trace_flag < 2 ))
> modules/bash/modules/dsl modules() 32 $ set +o xtrace
> modules/bash/core/initialize source() 64 $ module_load core/dsl
> modules/bash/modules/dsl module_load() 99 $ _files=("$@")
> modules/bash/modules/dsl module_load() 99 $ local _file _files
> modules/bash/modules/dsl module_load() 101 $ (( 1 > 0 ))
> modules/bash/modules/dsl module_load() 103 $ for _file in '"${_files[@]}"'
> modules/bash/modules/dsl module_load() 105 $ source_files /usr/local/bdsm/extensions/nginx/modules/bash/core/dsl
> modules/bash/filesystem/dsl source_files() 34 $ _files=("$@")
> modules/bash/filesystem/dsl source_files() 34 $ local _file _files
> modules/bash/filesystem/dsl source_files() 36 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl source_files() 38 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl source_files() 39 $ _file=/usr/local/bdsm/extensions/nginx/modules/bash/core/dsl
> modules/bash/filesystem/dsl source_files() 41 $ file_is_nonempty /usr/local/bdsm/extensions/nginx/modules/bash/core/dsl
> modules/bash/filesystem/dsl file_is_nonempty() 1391 $ local _file=/usr/local/bdsm/extensions/nginx/modules/bash/core/dsl
> modules/bash/filesystem/dsl file_is_nonempty() 1393 $ [[ -n /usr/local/bdsm/extensions/nginx/modules/bash/core/dsl ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1395 $ [[ ! -d /usr/local/bdsm/extensions/nginx/modules/bash/core/dsl ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1398 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/core/dsl ]]
> modules/bash/core/initialize source() 67 $ bdsm_exports
> modules/bash/core/dsl bdsm_exports() 31 $ export action archives_path bdsm_path branch config_path database database_name debug_flag environment error_message extension extension_action extension_args extension_bin_path extension_config_path extension_modules_path extension_path extension_templates_path extensions_path flags framework head_flag hooks_flag keep_releases modules_path old_releases parse_break paths prefix_path previous_path project project_path release_path remote repository result revision shared_path src_path templates_path timestamp tmp_path trace_flag user extension_log_path
> modules/bash/modules/dsl modules() 47 $ for _path in '"${_bdsm}"' '"${_extension}"'
> modules/bash/modules/dsl modules() 49 $ for _file in dsl initialize
> modules/bash/modules/dsl modules() 51 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/core/dsl ]]
> modules/bash/modules/dsl modules() 49 $ for _file in dsl initialize
> modules/bash/modules/dsl modules() 51 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/core/initialize ]]
> modules/bash/modules/dsl modules() 57 $ modules+=("${_module}")
> modules/bash/modules/dsl modules() 61 $ (( trace_flag == 1 ))
> modules/bash/modules/dsl modules() 61 $ set -o xtrace
> modules/bash/extensions/dsl extension_action() 137 $ [[ install = \h\e\l\p ]]
> modules/bash/extensions/dsl extension_action() 140 $ source_files /usr/local/bdsm/extensions/nginx/modules/bash/dsl /usr/local/bdsm/extensions/nginx/modules/bash/initialize /usr/local/bdsm/extensions/nginx/modules/bash/cli
> modules/bash/filesystem/dsl source_files() 34 $ _files=("$@")
> modules/bash/filesystem/dsl source_files() 34 $ local _file _files
> modules/bash/filesystem/dsl source_files() 36 $ (( 3 > 0 ))
> modules/bash/filesystem/dsl source_files() 38 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl source_files() 39 $ _file=/usr/local/bdsm/extensions/nginx/modules/bash/dsl
> modules/bash/filesystem/dsl source_files() 41 $ file_is_nonempty /usr/local/bdsm/extensions/nginx/modules/bash/dsl
> modules/bash/filesystem/dsl file_is_nonempty() 1391 $ local _file=/usr/local/bdsm/extensions/nginx/modules/bash/dsl
> modules/bash/filesystem/dsl file_is_nonempty() 1393 $ [[ -n /usr/local/bdsm/extensions/nginx/modules/bash/dsl ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1395 $ [[ ! -d /usr/local/bdsm/extensions/nginx/modules/bash/dsl ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1398 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/dsl ]]
> modules/bash/filesystem/dsl source_files() 42 $ source /usr/local/bdsm/extensions/nginx/modules/bash/dsl
> modules/bash/filesystem/dsl source_files() 38 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl source_files() 39 $ _file=/usr/local/bdsm/extensions/nginx/modules/bash/initialize
> modules/bash/filesystem/dsl source_files() 41 $ file_is_nonempty /usr/local/bdsm/extensions/nginx/modules/bash/initialize
> modules/bash/filesystem/dsl file_is_nonempty() 1391 $ local _file=/usr/local/bdsm/extensions/nginx/modules/bash/initialize
> modules/bash/filesystem/dsl file_is_nonempty() 1393 $ [[ -n /usr/local/bdsm/extensions/nginx/modules/bash/initialize ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1395 $ [[ ! -d /usr/local/bdsm/extensions/nginx/modules/bash/initialize ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1398 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/initialize ]]
> modules/bash/filesystem/dsl source_files() 42 $ source /usr/local/bdsm/extensions/nginx/modules/bash/initialize
> extensions/nginx/modules/bash/initialize source() 3 $ modules package service
> modules/bash/modules/dsl modules() 32 $ (( trace_flag < 2 ))
> modules/bash/modules/dsl modules() 32 $ set +o xtrace
> modules/bash/package/initialize source() 8 $ true /usr/local
> modules/bash/package/initialize source() 11 $ true nginx
> modules/bash/package/initialize source() 14 $ true /usr/local/bdsm/bin /usr/local/src /usr/local/nginx
> modules/bash/package/initialize source() 18 $ user_is_root
> modules/bash/users/dsl user_is_root() 265 $ (( UID == 0 ))
> modules/bash/users/dsl user_is_root() 267 $ return 0
> modules/bash/package/initialize source() 20 $ true /var/db/nginx /usr/local/bdsm/log nginx
> modules/bash/package/initialize source() 31 $ extension_patches_path=/usr/local/bdsm/extensions/nginx/patches
> modules/bash/package/initialize source() 34 $ variable_is_nonempty package_version
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=package_version
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n package_version ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${package_version:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n '' ]]
> modules/bash/package/initialize source() 35 $ read_default version prefix package
> modules/bash/defaults/dsl read_default() 42 $ local key variable token value prefix
> modules/bash/defaults/dsl read_default() 44 $ key=version
> modules/bash/defaults/dsl read_default() 46 $ [[ -n version ]]
> modules/bash/defaults/dsl read_default() 49 $ shift
> modules/bash/defaults/dsl read_default() 51 $ (( 2 > 0 ))
> modules/bash/defaults/dsl read_default() 53 $ token=prefix
> modules/bash/defaults/dsl read_default() 54 $ shift
> modules/bash/defaults/dsl read_default() 55 $ case "$token" in
> modules/bash/defaults/dsl read_default() 61 $ prefix=package
> modules/bash/defaults/dsl read_default() 62 $ shift
> modules/bash/defaults/dsl read_default() 51 $ (( 0 > 0 ))
> modules/bash/defaults/dsl read_default() 71 $ [[ -z '' ]]
> modules/bash/defaults/dsl read_default() 73 $ [[ -n package ]]
> modules/bash/defaults/dsl read_default() 75 $ true package_version
> modules/bash/defaults/dsl read_default() 81 $ hash_file /usr/local/bdsm/extensions/nginx/config/defaults version
> modules/bash/filesystem/dsl hash_file() 1245 $ local _file=/usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl hash_file() 1245 $ shift
> modules/bash/filesystem/dsl hash_file() 1246 $ local _key=version
> modules/bash/filesystem/dsl hash_file() 1246 $ shift
> modules/bash/filesystem/dsl hash_file() 1249 $ [[ -f /usr/local/bdsm/extensions/nginx/config/defaults ]]
> modules/bash/filesystem/dsl hash_file() 1252 $ dirname /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl hash_file() 1252 $ ensure_paths_exist /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ _paths=("$@")
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ local _path _paths
> modules/bash/filesystem/dsl ensure_paths_exist() 135 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/filesystem/dsl hash_file() 1254 $ ensure_files_exist /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ _files=("$@")
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ local _file _files _path
> modules/bash/filesystem/dsl ensure_files_exist() 288 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_files_exist() 291 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl ensure_files_exist() 293 $ _path=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_files_exist() 294 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl ensure_files_exist() 295 $ [[ -e /usr/local/bdsm/extensions/nginx/config/defaults ]]
> modules/bash/filesystem/dsl hash_file() 1256 $ [[ -n version ]]
> modules/bash/filesystem/dsl hash_file() 1259 $ value=
> modules/bash/filesystem/dsl hash_file() 1260 $ case "$value" in
> modules/bash/filesystem/dsl hash_file() 1265 $ [[ -z '' ]]
> modules/bash/filesystem/dsl hash_file() 1266 $ awk -F= '/^version=/{print $2}' /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/defaults/dsl read_default() 81 $ value=1.0.0
> modules/bash/defaults/dsl read_default() 83 $ eval 'package_version="1.0.0"'
> modules/bash/defaults/dsl read_default() 83 $ package_version=1.0.0
> modules/bash/package/initialize source() 37 $ variable_is_nonempty package_version
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=package_version
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n package_version ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${package_version:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n 1.0.0 ]]
> modules/bash/package/initialize source() 38 $ install_path=/usr/local/nginx/1.0.0
> modules/bash/package/initialize source() 50 $ variable_is_nonempty package_base_url
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=package_base_url
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n package_base_url ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${package_base_url:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n '' ]]
> modules/bash/package/initialize source() 50 $ read_default base_url prefix package
> modules/bash/defaults/dsl read_default() 42 $ local key variable token value prefix
> modules/bash/defaults/dsl read_default() 44 $ key=base_url
> modules/bash/defaults/dsl read_default() 46 $ [[ -n base_url ]]
> modules/bash/defaults/dsl read_default() 49 $ shift
> modules/bash/defaults/dsl read_default() 51 $ (( 2 > 0 ))
> modules/bash/defaults/dsl read_default() 53 $ token=prefix
> modules/bash/defaults/dsl read_default() 54 $ shift
> modules/bash/defaults/dsl read_default() 55 $ case "$token" in
> modules/bash/defaults/dsl read_default() 61 $ prefix=package
> modules/bash/defaults/dsl read_default() 62 $ shift
> modules/bash/defaults/dsl read_default() 51 $ (( 0 > 0 ))
> modules/bash/defaults/dsl read_default() 71 $ [[ -z '' ]]
> modules/bash/defaults/dsl read_default() 73 $ [[ -n package ]]
> modules/bash/defaults/dsl read_default() 75 $ true package_base_url
> modules/bash/defaults/dsl read_default() 81 $ hash_file /usr/local/bdsm/extensions/nginx/config/defaults base_url
> modules/bash/filesystem/dsl hash_file() 1245 $ local _file=/usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl hash_file() 1245 $ shift
> modules/bash/filesystem/dsl hash_file() 1246 $ local _key=base_url
> modules/bash/filesystem/dsl hash_file() 1246 $ shift
> modules/bash/filesystem/dsl hash_file() 1249 $ [[ -f /usr/local/bdsm/extensions/nginx/config/defaults ]]
> modules/bash/filesystem/dsl hash_file() 1252 $ dirname /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl hash_file() 1252 $ ensure_paths_exist /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ _paths=("$@")
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ local _path _paths
> modules/bash/filesystem/dsl ensure_paths_exist() 135 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/filesystem/dsl hash_file() 1254 $ ensure_files_exist /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ _files=("$@")
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ local _file _files _path
> modules/bash/filesystem/dsl ensure_files_exist() 288 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_files_exist() 291 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl ensure_files_exist() 293 $ _path=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_files_exist() 294 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl ensure_files_exist() 295 $ [[ -e /usr/local/bdsm/extensions/nginx/config/defaults ]]
> modules/bash/filesystem/dsl hash_file() 1256 $ [[ -n base_url ]]
> modules/bash/filesystem/dsl hash_file() 1259 $ value=
> modules/bash/filesystem/dsl hash_file() 1260 $ case "$value" in
> modules/bash/filesystem/dsl hash_file() 1265 $ [[ -z '' ]]
> modules/bash/filesystem/dsl hash_file() 1266 $ awk -F= '/^base_url=/{print $2}' /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/defaults/dsl read_default() 81 $ value=http://nginx.org/download
> modules/bash/defaults/dsl read_default() 83 $ eval 'package_base_url="http://nginx.org/download"'
> modules/bash/defaults/dsl read_default() 83 $ package_base_url=http://nginx.org/download
> modules/bash/package/initialize source() 51 $ variable_is_nonempty package_md5_url
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=package_md5_url
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n package_md5_url ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${package_md5_url:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n '' ]]
> modules/bash/package/initialize source() 51 $ read_default md5_url prefix package
> modules/bash/defaults/dsl read_default() 42 $ local key variable token value prefix
> modules/bash/defaults/dsl read_default() 44 $ key=md5_url
> modules/bash/defaults/dsl read_default() 46 $ [[ -n md5_url ]]
> modules/bash/defaults/dsl read_default() 49 $ shift
> modules/bash/defaults/dsl read_default() 51 $ (( 2 > 0 ))
> modules/bash/defaults/dsl read_default() 53 $ token=prefix
> modules/bash/defaults/dsl read_default() 54 $ shift
> modules/bash/defaults/dsl read_default() 55 $ case "$token" in
> modules/bash/defaults/dsl read_default() 61 $ prefix=package
> modules/bash/defaults/dsl read_default() 62 $ shift
> modules/bash/defaults/dsl read_default() 51 $ (( 0 > 0 ))
> modules/bash/defaults/dsl read_default() 71 $ [[ -z '' ]]
> modules/bash/defaults/dsl read_default() 73 $ [[ -n package ]]
> modules/bash/defaults/dsl read_default() 75 $ true package_md5_url
> modules/bash/defaults/dsl read_default() 81 $ hash_file /usr/local/bdsm/extensions/nginx/config/defaults md5_url
> modules/bash/filesystem/dsl hash_file() 1245 $ local _file=/usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl hash_file() 1245 $ shift
> modules/bash/filesystem/dsl hash_file() 1246 $ local _key=md5_url
> modules/bash/filesystem/dsl hash_file() 1246 $ shift
> modules/bash/filesystem/dsl hash_file() 1249 $ [[ -f /usr/local/bdsm/extensions/nginx/config/defaults ]]
> modules/bash/filesystem/dsl hash_file() 1252 $ dirname /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl hash_file() 1252 $ ensure_paths_exist /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ _paths=("$@")
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ local _path _paths
> modules/bash/filesystem/dsl ensure_paths_exist() 135 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/filesystem/dsl hash_file() 1254 $ ensure_files_exist /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ _files=("$@")
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ local _file _files _path
> modules/bash/filesystem/dsl ensure_files_exist() 288 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_files_exist() 291 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl ensure_files_exist() 293 $ _path=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_files_exist() 294 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl ensure_files_exist() 295 $ [[ -e /usr/local/bdsm/extensions/nginx/config/defaults ]]
> modules/bash/filesystem/dsl hash_file() 1256 $ [[ -n md5_url ]]
> modules/bash/filesystem/dsl hash_file() 1259 $ value=
> modules/bash/filesystem/dsl hash_file() 1260 $ case "$value" in
> modules/bash/filesystem/dsl hash_file() 1265 $ [[ -z '' ]]
> modules/bash/filesystem/dsl hash_file() 1266 $ awk -F= '/^md5_url=/{print $2}' /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/defaults/dsl read_default() 81 $ value=
> modules/bash/defaults/dsl read_default() 83 $ eval 'package_md5_url=""'
> modules/bash/defaults/dsl read_default() 83 $ package_md5_url=
> modules/bash/package/initialize source() 52 $ variable_is_nonempty archive_format
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=archive_format
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n archive_format ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${archive_format:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n '' ]]
> modules/bash/package/initialize source() 52 $ read_default archive_format
> modules/bash/defaults/dsl read_default() 42 $ local key variable token value prefix
> modules/bash/defaults/dsl read_default() 44 $ key=archive_format
> modules/bash/defaults/dsl read_default() 46 $ [[ -n archive_format ]]
> modules/bash/defaults/dsl read_default() 49 $ shift
> modules/bash/defaults/dsl read_default() 51 $ (( 0 > 0 ))
> modules/bash/defaults/dsl read_default() 71 $ [[ -z '' ]]
> modules/bash/defaults/dsl read_default() 73 $ [[ -n '' ]]
> modules/bash/defaults/dsl read_default() 77 $ true archive_format
> modules/bash/defaults/dsl read_default() 81 $ hash_file /usr/local/bdsm/extensions/nginx/config/defaults archive_format
> modules/bash/filesystem/dsl hash_file() 1245 $ local _file=/usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl hash_file() 1245 $ shift
> modules/bash/filesystem/dsl hash_file() 1246 $ local _key=archive_format
> modules/bash/filesystem/dsl hash_file() 1246 $ shift
> modules/bash/filesystem/dsl hash_file() 1249 $ [[ -f /usr/local/bdsm/extensions/nginx/config/defaults ]]
> modules/bash/filesystem/dsl hash_file() 1252 $ dirname /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl hash_file() 1252 $ ensure_paths_exist /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ _paths=("$@")
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ local _path _paths
> modules/bash/filesystem/dsl ensure_paths_exist() 135 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/filesystem/dsl hash_file() 1254 $ ensure_files_exist /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ _files=("$@")
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ local _file _files _path
> modules/bash/filesystem/dsl ensure_files_exist() 288 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_files_exist() 291 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl ensure_files_exist() 293 $ _path=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_files_exist() 294 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl ensure_files_exist() 295 $ [[ -e /usr/local/bdsm/extensions/nginx/config/defaults ]]
> modules/bash/filesystem/dsl hash_file() 1256 $ [[ -n archive_format ]]
> modules/bash/filesystem/dsl hash_file() 1259 $ value=
> modules/bash/filesystem/dsl hash_file() 1260 $ case "$value" in
> modules/bash/filesystem/dsl hash_file() 1265 $ [[ -z '' ]]
> modules/bash/filesystem/dsl hash_file() 1266 $ awk -F= '/^archive_format=/{print $2}' /usr/local/bdsm/extensions/nginx/config/defaults
> modules/bash/defaults/dsl read_default() 81 $ value=
> modules/bash/defaults/dsl read_default() 83 $ eval 'archive_format=""'
> modules/bash/defaults/dsl read_default() 83 $ archive_format=
> modules/bash/package/initialize source() 53 $ variable_is_nonempty init_scripts_path
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=init_scripts_path
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n init_scripts_path ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${init_scripts_path:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n '' ]]
> modules/bash/package/initialize source() 53 $ init_scripts_path
> modules/bash/system/dsl init_scripts_path() 35 $ (( UID == 0 ))
> modules/bash/system/dsl init_scripts_path() 37 $ case "$MACHTYPE" in
> modules/bash/system/dsl init_scripts_path() 43 $ [[ -d /etc/init.d ]]
> modules/bash/system/dsl init_scripts_path() 45 $ printf /etc/init.d
> modules/bash/package/initialize source() 53 $ init_scripts_path=/etc/init.d
> modules/bash/package/initialize source() 56 $ : tar.gz /var/db/nginx/1.0.0
> modules/bash/package/initialize source() 59 $ ensure_paths_exist /usr/local/bin /usr/local/man /usr/local/lib
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ _paths=("$@")
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ local _path _paths
> modules/bash/filesystem/dsl ensure_paths_exist() 135 $ (( 3 > 0 ))
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/bin
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/bin
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/bin ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/bin ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/man
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/man
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/man ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/man ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/lib
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/lib
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/lib ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/lib ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/package/initialize source() 61 $ export 'LDFLAGS= -L/usr/local/lib'
> modules/bash/package/initialize source() 61 $ LDFLAGS=' -L/usr/local/lib'
> modules/bash/package/initialize source() 63 $ export package_name prefix_path package_name package_version archive_format package_file package_url package_md5_url prefix_path bin_path source_path
> modules/bash/modules/dsl modules() 47 $ for _path in '"${_bdsm}"' '"${_extension}"'
> modules/bash/modules/dsl modules() 49 $ for _file in dsl initialize
> modules/bash/modules/dsl modules() 51 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/package/dsl ]]
> modules/bash/modules/dsl modules() 49 $ for _file in dsl initialize
> modules/bash/modules/dsl modules() 51 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/package/initialize ]]
> modules/bash/modules/dsl modules() 57 $ modules+=("${_module}")
> modules/bash/modules/dsl modules() 38 $ for _module in '"${_modules[@]}"'
> modules/bash/modules/dsl modules() 40 $ module_is_loaded service
> modules/bash/modules/dsl module_is_loaded() 142 $ local _name=service
> modules/bash/modules/dsl module_is_loaded() 144 $ [[ -n service ]]
> modules/bash/modules/dsl module_is_loaded() 147 $ case " ${modules[@]} " in
> modules/bash/modules/dsl module_is_loaded() 152 $ return 1
> modules/bash/modules/dsl modules() 44 $ _bdsm=/usr/local/bdsm/modules/bash/service
> modules/bash/modules/dsl modules() 45 $ _extension=/usr/local/bdsm/extensions/nginx/modules/bash/service
> modules/bash/modules/dsl modules() 47 $ for _path in '"${_bdsm}"' '"${_extension}"'
> modules/bash/modules/dsl modules() 49 $ for _file in dsl initialize
> modules/bash/modules/dsl modules() 51 $ [[ -s /usr/local/bdsm/modules/bash/service/dsl ]]
> modules/bash/modules/dsl modules() 53 $ source /usr/local/bdsm/modules/bash/service/dsl
> modules/bash/modules/dsl modules() 49 $ for _file in dsl initialize
> modules/bash/modules/dsl modules() 51 $ [[ -s /usr/local/bdsm/modules/bash/service/initialize ]]
> modules/bash/modules/dsl modules() 53 $ source /usr/local/bdsm/modules/bash/service/initialize
> modules/bash/service/initialize source() 3 $ modules system array
> modules/bash/modules/dsl modules() 32 $ (( trace_flag < 2 ))
> modules/bash/modules/dsl modules() 32 $ set +o xtrace
> modules/bash/service/initialize source() 5 $ variable_is_nonempty init_scripts_path
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=init_scripts_path
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n init_scripts_path ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${init_scripts_path:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n /etc/init.d ]]
> modules/bash/service/initialize source() 6 $ variable_is_nonempty confd_path
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=confd_path
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n confd_path ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${confd_path:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n '' ]]
> modules/bash/service/initialize source() 6 $ confd_path
> modules/bash/system/dsl confd_path() 93 $ (( UID == 0 ))
> modules/bash/system/dsl confd_path() 95 $ printf /etc/conf.d
> modules/bash/service/initialize source() 6 $ confd_path=/etc/conf.d
> modules/bash/service/initialize source() 9 $ : nginx nginx /usr/local /usr/local/bin/nginx /usr/local/nginx/1.0.0/bin /var/run/nginx /etc/nginx /var/db/nginx /var/db/nginx/1.0.0/data /var/log/nginx /var/lock/nginx /usr/local/src/nginx-1.0.0 /etc/nginx/nginx.conf /var/log/nginx/nginx.log /var/run/nginx/nginx.pid /var/lock/nginx/nginx.lock
> modules/bash/service/initialize source() 33 $ service_paths=("${service_bin_path}" "${service_config_path}" "${service_pid_path}" "${service_data_path}" "${service_lock_path}" "${service_log_path}")
> modules/bash/service/initialize source() 35 $ file_is_nonempty /var/run/nginx/nginx.pid
> modules/bash/filesystem/dsl file_is_nonempty() 1391 $ local _file=/var/run/nginx/nginx.pid
> modules/bash/filesystem/dsl file_is_nonempty() 1393 $ [[ -n /var/run/nginx/nginx.pid ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1395 $ [[ ! -d /var/run/nginx/nginx.pid ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1398 $ [[ -s /var/run/nginx/nginx.pid ]]
> modules/bash/service/initialize source() 39 $ service_pid=0
> modules/bash/modules/dsl modules() 47 $ for _path in '"${_bdsm}"' '"${_extension}"'
> modules/bash/modules/dsl modules() 49 $ for _file in dsl initialize
> modules/bash/modules/dsl modules() 51 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/service/dsl ]]
> modules/bash/modules/dsl modules() 49 $ for _file in dsl initialize
> modules/bash/modules/dsl modules() 51 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/service/initialize ]]
> modules/bash/modules/dsl modules() 57 $ modules+=("${_module}")
> modules/bash/modules/dsl modules() 61 $ (( trace_flag == 1 ))
> modules/bash/modules/dsl modules() 61 $ set -o xtrace
> extensions/nginx/modules/bash/initialize source() 5 $ dependencies=(pcre)
> extensions/nginx/modules/bash/initialize source() 7 $ export PATH=/sbin:/usr/sbin:/usr/local/sbin:/opt/sbin:/opt/local:sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/node/active/bin:/usr/local/pcre/active/bin:/usr/local/postgresql/active/bin:/usr/local/redis/active/bin:/usr/local/bin:/usr/local/node/active/bin:/usr/local/pcre/active/bin:/usr/local/postgresql/active/bin:/usr/local/redis/active/bin:/usr/local/bin
> extensions/nginx/modules/bash/initialize source() 7 $ PATH=/sbin:/usr/sbin:/usr/local/sbin:/opt/sbin:/opt/local:sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/node/active/bin:/usr/local/pcre/active/bin:/usr/local/postgresql/active/bin:/usr/local/redis/active/bin:/usr/local/bin:/usr/local/node/active/bin:/usr/local/pcre/active/bin:/usr/local/postgresql/active/bin:/usr/local/redis/active/bin:/usr/local/bin
> extensions/nginx/modules/bash/initialize source() 9 $ init_scripts_path
> modules/bash/system/dsl init_scripts_path() 35 $ (( UID == 0 ))
> modules/bash/system/dsl init_scripts_path() 37 $ case "$MACHTYPE" in
> modules/bash/system/dsl init_scripts_path() 43 $ [[ -d /etc/init.d ]]
> modules/bash/system/dsl init_scripts_path() 45 $ printf /etc/init.d
> extensions/nginx/modules/bash/initialize source() 9 $ init_scripts_path=/etc/init.d
> extensions/nginx/modules/bash/initialize source() 13 $ : /usr/local/nginx/1.0.0/nginx /usr/local/nginx/1.0.0/nginx/nginx.conf /usr/local/nginx/1.0.0/nginx/conf /usr/local/nginx/1.0.0/nginx/servers /usr/local/nginx/1.0.0/bin/nginx /var/run/nginx.pid /var/lock/nginx.lock /var/spool/nginx /var/log/nginx nginx
> extensions/nginx/modules/bash/initialize source() 39 $ configure_flags=(--prefix="$install_path" --conf-path="$nginx_config_file" --sbin-path="$nginx_binary" --pid-path="$nginx_pid_file" --lock-path="$nginx_lock_file" --http-client-body-temp-path="$nginx_spool_path/client_body_temp" --http-proxy-temp-path="$nginx_spool_path/proxy_temp" --http-fastcgi-temp-path="$nginx_spool_path/fastcgi_temp" --http-log-path="$nginx_log_path/access.log" --error-log-path="$nginx_log_path/error.log" --with-imap --with-imap_ssl_module --with-http_ssl_module --with-http_stub_status_module --with-pcre)
> extensions/nginx/modules/bash/initialize source() 46 $ config_directories=("${nginx_spool_path}/client_body_temp" "${nginx_log_path}" "${nginx_config_path}/conf" "${nginx_config_path}/servers")
> extensions/nginx/modules/bash/initialize source() 52 $ nginx_files=(fastcgi.conf fastcgi.conf.default fastcgi_params fastcgi_params.default koi-utf koi-win mime.types mime.types.default nginx.conf.default scgi_params scgi_params.default uwsgi_params uwsgi_params.default win-utf)
> extensions/nginx/modules/bash/initialize source() 54 $ ps auxww
> extensions/nginx/modules/bash/initialize source() 54 $ awk '/[n]ginx: master/{print $2}'
> extensions/nginx/modules/bash/initialize source() 54 $ head -1
> extensions/nginx/modules/bash/initialize source() 54 $ master_pid=
> modules/bash/filesystem/dsl source_files() 38 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl source_files() 39 $ _file=/usr/local/bdsm/extensions/nginx/modules/bash/cli
> modules/bash/filesystem/dsl source_files() 41 $ file_is_nonempty /usr/local/bdsm/extensions/nginx/modules/bash/cli
> modules/bash/filesystem/dsl file_is_nonempty() 1391 $ local _file=/usr/local/bdsm/extensions/nginx/modules/bash/cli
> modules/bash/filesystem/dsl file_is_nonempty() 1393 $ [[ -n /usr/local/bdsm/extensions/nginx/modules/bash/cli ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1395 $ [[ ! -d /usr/local/bdsm/extensions/nginx/modules/bash/cli ]]
> modules/bash/filesystem/dsl file_is_nonempty() 1398 $ [[ -s /usr/local/bdsm/extensions/nginx/modules/bash/cli ]]
> modules/bash/filesystem/dsl source_files() 42 $ source /usr/local/bdsm/extensions/nginx/modules/bash/cli
> extensions/nginx/modules/bash/cli source() 3 $ package_cli
> modules/bash/package/dsl package_cli() 1141 $ _ignored_args=()
> modules/bash/package/dsl package_cli() 1141 $ local _ignored_args
> modules/bash/package/dsl package_cli() 1143 $ number_of_args=1
> modules/bash/package/dsl package_cli() 1145 $ (( index=0 ))
> modules/bash/package/dsl package_cli() 1145 $ (( index < 1 ))
> modules/bash/package/dsl package_cli() 1147 $ token=
> modules/bash/package/dsl package_cli() 1149 $ case "$token" in
> modules/bash/package/dsl package_cli() 1204 $ _ignored_args+=("${token}")
> modules/bash/package/dsl package_cli() 1208 $ (( 1 > 0 ))
> modules/bash/package/dsl package_cli() 1208 $ extension_args=("${_ignored_args[@]}")
> modules/bash/package/dsl package_cli() 1145 $ (( index++ ))
> modules/bash/package/dsl package_cli() 1145 $ (( index < 1 ))
> modules/bash/extensions/dsl extension_action() 144 $ source /usr/local/bdsm/extensions/nginx/bin/install
> extensions/nginx/bin/install source() 3 $ log '\nNote: This will do a standard Nginx install.\nUse the '\''passenger'\'' BDSM extension for installing Nginx with Passenger.\n'
> modules/bash/logging/dsl log() 36 $ [[ -n \nNote: This will do a standard Nginx install.\nUse the 'passenger' BDSM extension for installing Nginx with Passenger.\n ]]
> modules/bash/logging/dsl log() 39 $ printf '\nNote: This will do a standard Nginx install.\nUse the '\''passenger'\'' BDSM extension for installing Nginx with Passenger.\n\n'
Note: This will do a standard Nginx install.
Use the 'passenger' BDSM extension for installing Nginx with Passenger.
> extensions/nginx/bin/install source() 5 $ package_install
> modules/bash/package/dsl package_install() 158 $ variables_must_be_nonempty package_name package_version archive_format
> modules/bash/variables/dsl variables_must_be_nonempty() 198 $ _variables=("$@")
> modules/bash/variables/dsl variables_must_be_nonempty() 198 $ local _variable _variables
> modules/bash/variables/dsl variables_must_be_nonempty() 200 $ (( 3 > 0 ))
> modules/bash/variables/dsl variables_must_be_nonempty() 203 $ for _variable in '"${_variables}"'
> modules/bash/variables/dsl variables_must_be_nonempty() 205 $ eval '[[ -n "${package_name}" ]]'
> modules/bash/variables/dsl variables_must_be_nonempty() 205 $ [[ -n nginx ]]
> modules/bash/package/dsl package_install() 160 $ true nginx-1.0.0
> modules/bash/package/dsl package_install() 162 $ ensure_paths_exist /usr/local/src
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ _paths=("$@")
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ local _path _paths
> modules/bash/filesystem/dsl ensure_paths_exist() 135 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/src
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/src
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/src ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/src ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/package/dsl package_install() 164 $ enter /usr/local/src
> modules/bash/filesystem/dsl enter() 1207 $ local _path=/usr/local/src
> modules/bash/filesystem/dsl enter() 1209 $ builtin cd /usr/local/src
> modules/bash/package/dsl package_install() 166 $ command_exists nginx_download
> modules/bash/environment/dsl command_exists() 41 $ local _name=nginx_download
> modules/bash/environment/dsl command_exists() 43 $ [[ -n nginx_download ]]
> modules/bash/environment/dsl command_exists() 45 $ command -v nginx_download
> modules/bash/package/dsl package_install() 170 $ log 'Downloading nginx 1.0.0'
> modules/bash/logging/dsl log() 36 $ [[ -n Downloading nginx 1.0.0 ]]
> modules/bash/logging/dsl log() 39 $ printf 'Downloading nginx 1.0.0\n'
Downloading nginx 1.0.0
> modules/bash/package/dsl package_install() 171 $ package_fetch
> modules/bash/package/dsl package_fetch() 321 $ variables_must_be_nonempty package_name package_version archive_format
> modules/bash/variables/dsl variables_must_be_nonempty() 198 $ _variables=("$@")
> modules/bash/variables/dsl variables_must_be_nonempty() 198 $ local _variable _variables
> modules/bash/variables/dsl variables_must_be_nonempty() 200 $ (( 3 > 0 ))
> modules/bash/variables/dsl variables_must_be_nonempty() 203 $ for _variable in '"${_variables}"'
> modules/bash/variables/dsl variables_must_be_nonempty() 205 $ eval '[[ -n "${package_name}" ]]'
> modules/bash/variables/dsl variables_must_be_nonempty() 205 $ [[ -n nginx ]]
> modules/bash/package/dsl package_fetch() 324 $ : nginx-1.0.0.tar.gz http://nginx.org/download/nginx-1.0.0.tar.gz
> modules/bash/package/dsl package_fetch() 327 $ package_fetch_md5
> modules/bash/package/dsl package_fetch_md5() 268 $ variables_must_be_nonempty package_name package_version archive_format
> modules/bash/variables/dsl variables_must_be_nonempty() 198 $ _variables=("$@")
> modules/bash/variables/dsl variables_must_be_nonempty() 198 $ local _variable _variables
> modules/bash/variables/dsl variables_must_be_nonempty() 200 $ (( 3 > 0 ))
> modules/bash/variables/dsl variables_must_be_nonempty() 203 $ for _variable in '"${_variables}"'
> modules/bash/variables/dsl variables_must_be_nonempty() 205 $ eval '[[ -n "${package_name}" ]]'
> modules/bash/variables/dsl variables_must_be_nonempty() 205 $ [[ -n nginx ]]
> modules/bash/package/dsl package_fetch_md5() 270 $ local download_url
> modules/bash/package/dsl package_fetch_md5() 273 $ hash_file /usr/local/bdsm/extensions/nginx/config/md5 nginx-1.0.0.tar.gz
> modules/bash/filesystem/dsl hash_file() 1245 $ local _file=/usr/local/bdsm/extensions/nginx/config/md5
> modules/bash/filesystem/dsl hash_file() 1245 $ shift
> modules/bash/filesystem/dsl hash_file() 1246 $ local _key=nginx-1.0.0.tar.gz
> modules/bash/filesystem/dsl hash_file() 1246 $ shift
> modules/bash/filesystem/dsl hash_file() 1249 $ [[ -f /usr/local/bdsm/extensions/nginx/config/md5 ]]
> modules/bash/filesystem/dsl hash_file() 1252 $ dirname /usr/local/bdsm/extensions/nginx/config/md5
> modules/bash/filesystem/dsl hash_file() 1252 $ ensure_paths_exist /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ _paths=("$@")
> modules/bash/filesystem/dsl ensure_paths_exist() 133 $ local _path _paths
> modules/bash/filesystem/dsl ensure_paths_exist() 135 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_paths_exist() 138 $ for _path in '"${_paths[@]}"'
> modules/bash/filesystem/dsl ensure_paths_exist() 140 $ directory_exists /usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl directory_exists() 1666 $ return 0
> modules/bash/filesystem/dsl hash_file() 1254 $ ensure_files_exist /usr/local/bdsm/extensions/nginx/config/md5
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ _files=("$@")
> modules/bash/filesystem/dsl ensure_files_exist() 286 $ local _file _files _path
> modules/bash/filesystem/dsl ensure_files_exist() 288 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl ensure_files_exist() 291 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl ensure_files_exist() 293 $ _path=/usr/local/bdsm/extensions/nginx/config
> modules/bash/filesystem/dsl ensure_files_exist() 294 $ [[ -d /usr/local/bdsm/extensions/nginx/config ]]
> modules/bash/filesystem/dsl ensure_files_exist() 295 $ [[ -e /usr/local/bdsm/extensions/nginx/config/md5 ]]
> modules/bash/filesystem/dsl hash_file() 1256 $ [[ -n nginx-1.0.0.tar.gz ]]
> modules/bash/filesystem/dsl hash_file() 1259 $ value=
> modules/bash/filesystem/dsl hash_file() 1260 $ case "$value" in
> modules/bash/filesystem/dsl hash_file() 1265 $ [[ -z '' ]]
> modules/bash/filesystem/dsl hash_file() 1266 $ awk -F= '/^nginx-1.0.0.tar.gz=/{print $2}' /usr/local/bdsm/extensions/nginx/config/md5
> modules/bash/package/dsl package_fetch_md5() 273 $ : nginx-1.0.0.tar.gz http://nginx.org/download/nginx-1.0.0.tar.gz.md5 5751c920c266ea5bb5fc38af77e9c71c
> modules/bash/package/dsl package_fetch_md5() 277 $ [[ -z 5751c920c266ea5bb5fc38af77e9c71c ]]
> modules/bash/package/dsl package_fetch() 329 $ variable_is_nonempty package_md5
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=package_md5
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n package_md5 ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${package_md5:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n 5751c920c266ea5bb5fc38af77e9c71c ]]
> modules/bash/package/dsl package_fetch() 331 $ file_matches_md5 nginx-1.0.0.tar.gz 5751c920c266ea5bb5fc38af77e9c71c
> modules/bash/filesystem/dsl file_matches_md5() 2023 $ local _file=nginx-1.0.0.tar.gz _md5=5751c920c266ea5bb5fc38af77e9c71c _file_md5
> modules/bash/filesystem/dsl file_matches_md5() 2025 $ [[ -n nginx-1.0.0.tar.gz ]]
> modules/bash/filesystem/dsl file_matches_md5() 2027 $ [[ -n 5751c920c266ea5bb5fc38af77e9c71c ]]
> modules/bash/filesystem/dsl file_matches_md5() 2030 $ [[ -s nginx-1.0.0.tar.gz ]]
> modules/bash/filesystem/dsl file_matches_md5() 2030 $ return 1
> modules/bash/package/dsl package_fetch() 332 $ log 'nginx-1.0.0.tar.gz does not match md5 5751c920c266ea5bb5fc38af77e9c71c, removing and downloading.'
> modules/bash/logging/dsl log() 36 $ [[ -n nginx-1.0.0.tar.gz does not match md5 5751c920c266ea5bb5fc38af77e9c71c, removing and downloading. ]]
> modules/bash/logging/dsl log() 39 $ printf 'nginx-1.0.0.tar.gz does not match md5 5751c920c266ea5bb5fc38af77e9c71c, removing and downloading.\n'
nginx-1.0.0.tar.gz does not match md5 5751c920c266ea5bb5fc38af77e9c71c, removing and downloading.
> modules/bash/package/dsl package_fetch() 334 $ remove_files nginx-1.0.0.tar.gz
> modules/bash/filesystem/dsl remove_files() 183 $ _files=("$@")
> modules/bash/filesystem/dsl remove_files() 183 $ local _file _files
> modules/bash/filesystem/dsl remove_files() 185 $ (( 1 > 0 ))
> modules/bash/filesystem/dsl remove_files() 188 $ for _file in '"${_files[@]}"'
> modules/bash/filesystem/dsl remove_files() 189 $ [[ -f nginx-1.0.0.tar.gz ]]
> modules/bash/filesystem/dsl remove_files() 189 $ [[ -L nginx-1.0.0.tar.gz ]]
> modules/bash/filesystem/dsl remove_files() 191 $ [[ -d nginx-1.0.0.tar.gz ]]
> modules/bash/filesystem/dsl remove_files() 193 $ [[ -e nginx-1.0.0.tar.gz ]]
> modules/bash/filesystem/dsl remove_files() 196 $ true
> modules/bash/package/dsl package_fetch() 336 $ curl -L http://nginx.org/download/nginx-1.0.0.tar.gz -o nginx-1.0.0.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
1 639k 1 6643 0 0 14371 0 0:00:45 --:--:-- 0:00:45 21780
10 639k 10 70072 0 0 45728 0 0:00:14 0:00:01 0:00:13 50961
39 639k 39 250k 0 0 101k 0 0:00:06 0:00:02 0:00:04 108k
89 639k 89 573k 0 0 165k 0 0:00:03 0:00:03 --:--:-- 173k
100 639k 100 639k 0 0 177k 0 0:00:03 0:00:03 --:--:-- 185k
> modules/bash/package/dsl package_install() 174 $ command_exists nginx_extract
> modules/bash/environment/dsl command_exists() 41 $ local _name=nginx_extract
> modules/bash/environment/dsl command_exists() 43 $ [[ -n nginx_extract ]]
> modules/bash/environment/dsl command_exists() 45 $ command -v nginx_extract
> modules/bash/package/dsl package_install() 178 $ log 'Extracting nginx 1.0.0'
> modules/bash/logging/dsl log() 36 $ [[ -n Extracting nginx 1.0.0 ]]
> modules/bash/logging/dsl log() 39 $ printf 'Extracting nginx 1.0.0\n'
Extracting nginx 1.0.0
> modules/bash/package/dsl package_install() 179 $ package_extract
> modules/bash/package/dsl package_extract() 381 $ case "${archive_format}" in
> modules/bash/package/dsl package_extract() 383 $ tar zxf nginx-1.0.0.tar.gz
> modules/bash/package/dsl package_install() 182 $ enter nginx-1.0.0
> modules/bash/filesystem/dsl enter() 1207 $ local _path=nginx-1.0.0
> modules/bash/filesystem/dsl enter() 1209 $ builtin cd nginx-1.0.0
> modules/bash/package/dsl package_install() 184 $ command_exists nginx_patch
> modules/bash/environment/dsl command_exists() 41 $ local _name=nginx_patch
> modules/bash/environment/dsl command_exists() 43 $ [[ -n nginx_patch ]]
> modules/bash/environment/dsl command_exists() 45 $ command -v nginx_patch
> modules/bash/package/dsl package_install() 188 $ package_patch
> modules/bash/package/dsl package_patch() 980 $ local _patches _patch
> modules/bash/package/dsl package_patch() 982 $ directory_exists /usr/local/bdsm/extensions/nginx/patches
> modules/bash/filesystem/dsl directory_exists() 1660 $ local _directory=/usr/local/bdsm/extensions/nginx/patches
> modules/bash/filesystem/dsl directory_exists() 1662 $ [[ -n /usr/local/bdsm/extensions/nginx/patches ]]
> modules/bash/filesystem/dsl directory_exists() 1664 $ [[ -d /usr/local/bdsm/extensions/nginx/patches ]]
> modules/bash/filesystem/dsl directory_exists() 1668 $ return 1
> modules/bash/package/dsl package_patch() 982 $ return 0
> modules/bash/package/dsl package_install() 191 $ command_exists nginx_configure
> modules/bash/environment/dsl command_exists() 41 $ local _name=nginx_configure
> modules/bash/environment/dsl command_exists() 43 $ [[ -n nginx_configure ]]
> modules/bash/environment/dsl command_exists() 45 $ command -v nginx_configure
> modules/bash/package/dsl package_install() 193 $ nginx_configure
> extensions/nginx/modules/bash/dsl nginx_configure() 5 $ variable_is_nonempty CFLAGS
> modules/bash/variables/dsl variable_is_nonempty() 248 $ local _variable=CFLAGS
> modules/bash/variables/dsl variable_is_nonempty() 250 $ [[ -n CFLAGS ]]
> modules/bash/variables/dsl variable_is_nonempty() 253 $ eval '[[ -n "${CFLAGS:-}" ]]'
> modules/bash/variables/dsl variable_is_nonempty() 253 $ [[ -n '' ]]
> extensions/nginx/modules/bash/dsl nginx_configure() 9 $ export CFLAGS=-Wunused-but-set-variable
> extensions/nginx/modules/bash/dsl nginx_configure() 9 $ CFLAGS=-Wunused-but-set-variable
> extensions/nginx/modules/bash/dsl nginx_configure() 12 $ package_configure
> modules/bash/package/dsl package_configure() 439 $ local _command
> modules/bash/package/dsl package_configure() 441 $ [[ -n '' ]]
> modules/bash/package/dsl package_configure() 445 $ export PREFIX=/usr/local/nginx/1.0.0
> modules/bash/package/dsl package_configure() 445 $ PREFIX=/usr/local/nginx/1.0.0
> modules/bash/package/dsl package_configure() 447 $ _command='./configure --prefix=/usr/local/nginx/1.0.0 --conf-path=/usr/local/nginx/1.0.0/nginx/nginx.conf --sbin-path=/usr/local/nginx/1.0.0/bin/nginx --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-client-body-temp-path=/var/spool/nginx/client_body_temp --http-proxy-temp-path=/var/spool/nginx/proxy_temp --http-fastcgi-temp-path=/var/spool/nginx/fastcgi_temp --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --with-imap --with-imap_ssl_module --with-http_ssl_module --with-http_stub_status_module --with-pcre'
> modules/bash/package/dsl package_configure() 449 $ file_is_executable configure
> modules/bash/filesystem/dsl file_is_executable() 1311 $ local _file=configure
> modules/bash/filesystem/dsl file_is_executable() 1313 $ [[ -n configure ]]
> modules/bash/filesystem/dsl file_is_executable() 1315 $ [[ -x configure ]]
> modules/bash/package/dsl package_configure() 452 $ ./configure --prefix=/usr/local/nginx/1.0.0 --conf-path=/usr/local/nginx/1.0.0/nginx/nginx.conf --sbin-path=/usr/local/nginx/1.0.0/bin/nginx --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-client-body-temp-path=/var/spool/nginx/client_body_temp --http-proxy-temp-path=/var/spool/nginx/proxy_temp --http-fastcgi-temp-path=/var/spool/nginx/fastcgi_temp --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --with-imap --with-imap_ssl_module --with-http_ssl_module --with-http_stub_status_module --with-pcre
> modules/bash/package/dsl package_configure() 453 $ error 'Configuration of nginx 1.0.0 failed, seek help...'
> modules/bash/logging/dsl error() 185 $ disable_backtrace
> modules/bash/trace/dsl disable_backtrace() 338 $ set +o errexit trap - ERR
> modules/bash/logging/dsl error() 186 $ log 'ERROR: Configuration of nginx 1.0.0 failed, seek help...'
> modules/bash/logging/dsl log() 36 $ [[ -n ERROR: Configuration of nginx 1.0.0 failed, seek help... ]]
> modules/bash/logging/dsl log() 39 $ printf 'ERROR: Configuration of nginx 1.0.0 failed, seek help...\n'
ERROR: Configuration of nginx 1.0.0 failed, seek help...
> modules/bash/logging/dsl error() 187 $ exit 1
> modules/bash/extensions/dsl extension_action() 145 $ result=1
> modules/bash/extensions/dsl extension_action() 146 $ return 1
> modules/bash/extensions/dsl extension_action() 171 $ result=1
> modules/bash/extensions/dsl extension_action() 173 $ return 1
> /usr/local/bin/bdsm 173 $ backtrace 'A command has returned an unhandled error code (nonzero return value).'
> modules/bash/trace/dsl backtrace() 414 $ set +o xtrace
ERROR: A command has returned an unhandled error code (nonzero return value).
Backtrace:
Trace Line Function File
1. 173 main() /usr/local/bin/bdsm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment