File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -221,22 +221,27 @@ else
221221 echo " Building of documentation is disabled."
222222fi
223223echo " The DEB_BUILD_OPTIONS environment variable also works with dpkg-buildpackage."
224+ echo
224225
225226if which dpkg-checkbuilddeps > /dev/null; then
226227
227228 if [ -n " $ENABLE_BUILD_DOCUMENTATION " ]; then
228- a=$( cd .. && dpkg-checkbuilddeps || true)
229+ a=$( cd .. && dpkg-checkbuilddeps 2>&1 | sed -e " s/.*error://" || true)
230+ # echo "a=$a"
229231 if [ -n " $a " ]; then
230- echo " W: To successfully build all of LinuxCNC, install the following build dependencies are mising:\n$a "
231- echo " The missing packages are auto-installed by"
232+ echo " W: To successfully build all of LinuxCNC, install the following build dependencies are mising:"
233+ echo " $a "
234+ echo
235+ echo " I: Missing packages are auto-installed by"
232236 echo " sudo apt build-dep ."
233237 else
234238 echo " I: No build dependencies missing for complete builds including documentation."
235239 fi
236240 else
237- a=$( cd .. && dpkg-checkbuilddeps -B || true)
241+ a=$( cd .. && dpkg-checkbuilddeps -B 2>&1 | sed -e " s/.*error:// " || true)
238242 if [ -n " $a " ]; then
239- echo " W: To successfully build LinuxCNC without documentation, the following build dependencies are mising:\n$a "
243+ echo " W: To successfully build LinuxCNC without documentation, the following build dependencies are mising:"
244+ echo " $a "
240245 else
241246 echo " I: No dependencies missing for building binaries only."
242247 fi
You can’t perform that action at this time.
0 commit comments