fix(Docker): windows improvements and permissions fix (#5444)

This commit is contained in:
Yehonal
2021-04-28 22:26:39 +02:00
committed by GitHub
parent 5954d9c739
commit e4fafc61dd
15 changed files with 342 additions and 153 deletions

View File

@@ -1,16 +1,11 @@
function comp_clean() {
echo "Cleaning build files"
DIRTOCLEAN=${BUILDPATH:-var/build/obj}
PATTERN="$DIRTOCLEAN/*"
CWD=$(pwd)
echo "Cleaning build files in $DIRTOCLEAN"
cd $BUILDPATH
make -f Makefile clean || true
make clean || true
find -iname '*cmake*' -not -name CMakeLists.txt -exec rm -rf {} \+
cd $CWD
[ -d "$DIRTOCLEAN" ] && rm -rf $PATTERN
}
function comp_configure() {