summaryrefslogtreecommitdiffstats
path: root/encap/src/encap-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'encap/src/encap-profiles')
-rw-r--r--encap/src/encap-profiles/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/encap/src/encap-profiles/Makefile b/encap/src/encap-profiles/Makefile
index 71b0a8364..8e55cbebf 100644
--- a/encap/src/encap-profiles/Makefile
+++ b/encap/src/encap-profiles/Makefile
@@ -157,7 +157,7 @@ encaps : $(EPKG) $(MKENCAP) $(EP2TARGET) $(addsuffix .packaged,$(sources))
rename : encaps
if [ "$(OS)x" != "x" ]; then OS="$(OS)"; fi && \
if [ "$${OS}x" != "x" ]; then \
- for OLDNAME in `(ls . | grep *-encap-*.tar.gz) || break`; do \
+ for OLDNAME in `(ls . | grep .*-encap-.*.tar.gz) || break`; do \
NEWNAME="`printf "%s\n" "$${OLDNAME}" \
| awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \
| sed s:\ :-:g | sed s:OSDIST:\$${OS}:g`" ; \
@@ -167,7 +167,7 @@ rename : encaps
done; \
fi
- for OLDNAME in `(ls . | grep *-doc-*-encap-*.tar.gz) || break`; do \
+ for OLDNAME in `(ls . | grep .*-doc-.*-encap-.*.tar.gz) || break`; do \
NEWNAME="`printf "%s\n" "$${OLDNAME}" \
| awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \
| sed s:\ :-:g | sed s:OSDIST:share:g`" ; \