mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
- fix incorrect invocation of non-existing binary named "-find"
This bloated the target needlessly (and used to work before)
This commit is contained in:
12
Makefile
12
Makefile
@@ -250,14 +250,14 @@ endif
|
||||
|
||||
$(PROJECT_BUILD_DIR)/.root:
|
||||
mkdir -p $(TARGET_DIR)
|
||||
if ! [ -d "$(TARGET_DIR)/bin" ] ; then \
|
||||
if [ -d "$(TARGET_SKELETON)" ] ; then \
|
||||
cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
|
||||
if ! [ -d "$(TARGET_DIR)/bin" ]; then \
|
||||
if [ -d "$(TARGET_SKELETON)" ]; then \
|
||||
cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/ ; \
|
||||
fi; \
|
||||
touch $(STAGING_DIR)/.fakeroot.00000 ; \
|
||||
-find $(TARGET_DIR) -type d -name CVS | xargs rm -rf ; \
|
||||
-find $(TARGET_DIR) -type d -name .svn | xargs rm -rf ; \
|
||||
fi;
|
||||
fi
|
||||
-find $(TARGET_DIR) -type d -name CVS | xargs rm -rf
|
||||
-find $(TARGET_DIR) -type d -name .svn | xargs rm -rf
|
||||
touch $@
|
||||
|
||||
$(TARGET_DIR): $(PROJECT_BUILD_DIR)/.root
|
||||
|
||||
Reference in New Issue
Block a user