Skip to content

Commit

Permalink
fix CodFactor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausKlein committed Apr 20, 2022
1 parent 4184e7f commit f840ff8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-taox11-on-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ make c++17=1 -j ${BRIX11_NUMBER_OF_PROCESSORS} -C "${TAOX11_ROOT}/examples" 2>&1
make c++17=1 -j ${BRIX11_NUMBER_OF_PROCESSORS} -C "${TAOX11_ROOT}/tests" 2>&1 | tee -a make-all.log

#TODO: workaround to prevent problems with WSL and windows firewall! CK
egrep "^127.0.1.1\s+$HOSTNAME" /etc/hosts && echo "change to 127.0.0.1!" && exit 1
grep -E "^127.0.1.1\s+$HOSTNAME" /etc/hosts && echo "change to 127.0.0.1!" && exit 1
# make tests
"${X11_BASE_ROOT}/bin/brix11" run list -l taox11/bin/taox11_tests.lst -r taox11 2>&1 | tee run-list.log

# install
make -j ${BRIX11_NUMBER_OF_PROCESSORS} -C "${X11_BASE_ROOT}" install 2>&1 | tee make-install.log

find "${INSTALL_PREFIX}/include" -type d -name home -prune | xargs tree
find "${INSTALL_PREFIX}/include" -type d -name home -prune | xargs rm -rf
find "${INSTALL_PREFIX}/include" -type d -name home -prune -print0 | xargs -0 tree
find "${INSTALL_PREFIX}/include" -type d -name home -prune -print0 | xargs -0 rm -rf

#FIXME: remove the installed include garbage! CK
rm -rf "${INSTALL_PREFIX}/include"
Expand Down

0 comments on commit f840ff8

Please sign in to comment.