From 7b403ada3715d1d6e510abbb6b4ccf89b2c09167 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 21 Aug 2007 11:25:30 +0000 Subject: - sed -i -e "/\-[[:space:]]*mkdir[[:space:]][[:space:]]*-p/s/-[[:space:]]*mkdir/mkdir/g" (want to know about errors if mkdir failed). Thanks to Cristian Ionescu-Idbohrn for pointing this out --- package/libusb/libusb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/libusb') diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index 2a1179284..d50c29cf5 100644 --- a/package/libusb/libusb.mk +++ b/package/libusb/libusb.mk @@ -40,7 +40,7 @@ $(STAGING_DIR)/lib/libusb.so: $(LIBUSB_DIR)/.configured $(MAKE) -C $(LIBUSB_DIR) DESTDIR=$(STAGING_DIR) install $(TARGET_DIR)/$(LIBUSB_BINARY): $(STAGING_DIR)/lib/libusb.so - -mkdir -p $(TARGET_DIR)/usr/lib + mkdir -p $(TARGET_DIR)/usr/lib cp -a $(STAGING_DIR)/lib/libusb* $(TARGET_DIR)/usr/lib rm -f $(TARGET_DIR)/usr/lib/*.a $(TARGET_DIR)/usr/lib/*.la -- cgit v1.2.3