mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-26 12:46:33 +00:00
be sure the dir is present
This commit is contained in:
parent
7037120431
commit
6fb11d57cf
@ -53,6 +53,7 @@ build-sed-host-binary: $(SED_DIR1)/$(SED_BINARY)
|
|||||||
@if [ ! -f $(STAGING_DIR)/$(SED_TARGET_BINARY) -o $(STAGING_DIR)/$(SED_TARGET_BINARY) \
|
@if [ ! -f $(STAGING_DIR)/$(SED_TARGET_BINARY) -o $(STAGING_DIR)/$(SED_TARGET_BINARY) \
|
||||||
-ot $(SED_DIR1)/$(SED_BINARY) ] ; then \
|
-ot $(SED_DIR1)/$(SED_BINARY) ] ; then \
|
||||||
set -x; \
|
set -x; \
|
||||||
|
mkdir -p $(STAGING_DIR)/bin; \
|
||||||
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(SED_DIR1) install; \
|
$(MAKE) DESTDIR=$(STAGING_DIR) -C $(SED_DIR1) install; \
|
||||||
mv $(STAGING_DIR)/usr/bin/sed $(STAGING_DIR)/bin/; \
|
mv $(STAGING_DIR)/usr/bin/sed $(STAGING_DIR)/bin/; \
|
||||||
rm -rf $(STAGING_DIR)/share/locale $(STAGING_DIR)/usr/info \
|
rm -rf $(STAGING_DIR)/share/locale $(STAGING_DIR)/usr/info \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user