summaryrefslogtreecommitdiff
path: root/package/grep/grep.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/grep/grep.mk')
-rw-r--r--package/grep/grep.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/grep/grep.mk b/package/grep/grep.mk
index 02add799b..66eb7021f 100644
--- a/package/grep/grep.mk
+++ b/package/grep/grep.mk
@@ -55,10 +55,10 @@ $(GNUGREP_DIR)/$(GNUGREP_BINARY): $(GNUGREP_DIR)/.configured
# This stuff is needed to work around GNU make deficiencies
grep-target_binary: $(GNUGREP_DIR)/$(GNUGREP_BINARY)
- @if [ -L $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) ] ; then \
+ @if [ -L $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) ]; then \
rm -f $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY); fi
@if [ ! -f $(GNUGREP_DIR)/$(GNUGREP_BINARY) -o $(TARGET_DIR)/$(GNUGREP_TARGET_BINARY) -ot \
- $(GNUGREP_DIR)/$(GNUGREP_BINARY) ] ; then \
+ $(GNUGREP_DIR)/$(GNUGREP_BINARY) ]; then \
set -x; \
rm -f $(TARGET_DIR)/bin/grep $(TARGET_DIR)/bin/egrep $(TARGET_DIR)/bin/fgrep; \
cp -a $(GNUGREP_DIR)/src/grep $(GNUGREP_DIR)/src/egrep \