diff options
Diffstat (limited to 'encap/src/encap-profiles/Makefile')
-rw-r--r-- | encap/src/encap-profiles/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/encap/src/encap-profiles/Makefile b/encap/src/encap-profiles/Makefile index f2c4d04b9..664aea619 100644 --- a/encap/src/encap-profiles/Makefile +++ b/encap/src/encap-profiles/Makefile @@ -141,6 +141,14 @@ rename : encaps fi; \ done; \ fi + for OLDNAME in `ls ./*-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`" ; \ + if [ "$${OLDNAME}x" != "$${NEWNAME}x" ]; then \ + mv ./$${OLDNAME} ./$${NEWNAME}; \ + fi; \ + done; clean : -(rm ./*.log; rm ./*.packaged; rm ./*.gz; rm ./*~) |