File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -37,12 +37,19 @@ for p in ${BIN_PATHS}; do \
3737 BIN_EXPR=" ${BIN_EXPR: +${BIN_EXPR} -or } -path \" $p /*\" "
3838done
3939
40- eval " find -type f \( $BIN_EXPR \) -exec install -p -m 755 -D {} /rootfs/var/www/{} \;"
40+ if [ ! -z " ${BIN_EXPR} " ]; then
41+ eval " find -type f \( $BIN_EXPR \) -exec install -p -m 755 -D {} /rootfs/var/www/{} \;"
4142
42- eval " find -type f \( $INSTALL_EXPR \) \
43+ eval " find -type f \( $INSTALL_EXPR \) \
4344 -not \( $EXCLUDE_EXPR \) \
4445 -not \( $BIN_EXPR \) \
4546 -exec install -p -m 644 -D {} /rootfs/var/www/{} \;"
47+ else
48+
49+ eval " find -type f \( $INSTALL_EXPR \) \
50+ -not \( $EXCLUDE_EXPR \) \
51+ -exec install -p -m 644 -D {} /rootfs/var/www/{} \;"
52+ fi
4653
4754install -m 755 packaging/docker/entrypoint.sh /rootfs/
4855
You can’t perform that action at this time.
0 commit comments