summaryrefslogtreecommitdiffstats
path: root/encap
diff options
context:
space:
mode:
Diffstat (limited to 'encap')
-rw-r--r--encap/src/encap-profiles/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/encap/src/encap-profiles/Makefile b/encap/src/encap-profiles/Makefile
index 298c71747..2deea4d82 100644
--- a/encap/src/encap-profiles/Makefile
+++ b/encap/src/encap-profiles/Makefile
@@ -150,7 +150,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 ./*-encap-*.tar.gz`; do \
+ for OLDNAME in `ls . | grep *-encap-*.tar.gz`; do \
NEWNAME="`printf "%s\n" "$${OLDNAME}" \
| awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \
| sed s:\ :-:g | sed s:OSDIST:\$${OS}:g`" ; \
@@ -159,7 +159,8 @@ rename : encaps
fi; \
done; \
fi
- for OLDNAME in `ls ./*-doc-*-encap-*.tar.gz`; do \
+
+ for OLDNAME in `ls . | grep *-doc-*-encap-*.tar.gz`; do \
NEWNAME="`printf "%s\n" "$${OLDNAME}" \
| awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \
| sed s:\ :-:g | sed s:OSDIST:share:g`" ; \