Skip to content

Commit 2b7c755

Browse files
authored
Merge pull request #9 from snickerjp/dev
Dev
2 parents 97e27c7 + 9c6b3df commit 2b7c755

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

02_build_deb_pkg.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function my_error() {
88
# Copy build_config.rb
99

1010
function copy_build_config() {
11-
cp ngx_mruby/build_config.rb ngx_mruby-package-builder/ngx_mruby/build_config.rb
11+
cp -v ngx_mruby/build_config.rb ngx_mruby-package-builder/ngx_mruby/build_config.rb
1212
}
1313

1414
# build deb for ubuntu1804
@@ -20,4 +20,9 @@ function build_deb() {
2020
}
2121

2222
# main
23-
copy_build_config && build_deb || my_error
23+
if [[ copy_build_config ]]
24+
then
25+
build_deb
26+
else
27+
my_error
28+
fi

0 commit comments

Comments
 (0)