[Makefile]: Remove lockfile before build (#847)
In case previous build was forcefully stopped, we need to remove screen lock so that build won't be stuck. Signed-off-by: marian-pritsak <marianp@mellanox.com>
This commit is contained in:
parent
987aec3565
commit
1c165067af
3
Makefile
3
Makefile
@ -7,6 +7,9 @@ SHELL = /bin/bash
|
|||||||
USER := $(shell id -un)
|
USER := $(shell id -un)
|
||||||
PWD := $(shell pwd)
|
PWD := $(shell pwd)
|
||||||
|
|
||||||
|
# Remove lock file in case previous run was forcefully stopped
|
||||||
|
$(shell rm -f .screen)
|
||||||
|
|
||||||
MAKEFLAGS += -B
|
MAKEFLAGS += -B
|
||||||
|
|
||||||
SLAVE_TAG = $(shell shasum sonic-slave/Dockerfile | awk '{print substr($$1,0,11);}')
|
SLAVE_TAG = $(shell shasum sonic-slave/Dockerfile | awk '{print substr($$1,0,11);}')
|
||||||
|
Loading…
Reference in New Issue
Block a user