We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97e27c7 + 9c6b3df commit 2b7c755Copy full SHA for 2b7c755
02_build_deb_pkg.sh
@@ -8,7 +8,7 @@ function my_error() {
8
# Copy build_config.rb
9
10
function copy_build_config() {
11
- cp ngx_mruby/build_config.rb ngx_mruby-package-builder/ngx_mruby/build_config.rb
+ cp -v ngx_mruby/build_config.rb ngx_mruby-package-builder/ngx_mruby/build_config.rb
12
}
13
14
# build deb for ubuntu1804
@@ -20,4 +20,9 @@ function build_deb() {
20
21
22
# main
23
-copy_build_config && build_deb || my_error
+if [[ copy_build_config ]]
24
+then
25
+ build_deb
26
+else
27
+ my_error
28
+fi
0 commit comments