Skip to contentSkip to conversation

LVM2/test Makefile.in

PATCH [email protected] 1 participant 1 message Dec 12, 2010

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: mornfall at sourceware.org 2010-12-12 21:17:25

Modified files:
test : Makefile.in

Log message:
Fix the sed expression to get "base" names of tests.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/Makefile.in.diff?cvsroot=lvm2&r1=1.46&r2=1.47

test/Makefile.in +1 -1
@@ -29,7 +29,7 @@
 S ?= @ # never match anything by default
 VERBOSE ?= 0
 RUN = $(shell find $(srcdir) -regextype posix-egrep \( -name t-\*.sh -or -path */api/\*.sh \) -and -regex "$(srcdir)/.*($(T)).*" -and -not -regex "$(srcdir)/.*($(S)).*" | sort)
-RUN_BASE = $(shell echo $(RUN) | sed -e s,$(srcdir)/,,g)
+RUN_BASE = $(shell echo $(RUN) | sed -e s,^$(srcdir)/,,)
 
 # Shell quote;
 SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))