diff options
Diffstat (limited to 'encap/src/encap-profiles/Makefile')
-rw-r--r-- | encap/src/encap-profiles/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/encap/src/encap-profiles/Makefile b/encap/src/encap-profiles/Makefile index 13d3b2135..e2f57ea8e 100644 --- a/encap/src/encap-profiles/Makefile +++ b/encap/src/encap-profiles/Makefile @@ -133,7 +133,7 @@ rename : encaps if [ "$(OS)x" != "x" ]; then OS="$(OS)"; fi && \ if [ "$${OS}x" != "x" ]; then \ for OLDNAME in `ls ./*-encap-*.tar.gz`; do \ - NEWNAME="`printf $${OLDNAME} \ + NEWNAME="`printf "%s\n" "$${OLDNAME}" \ | awk -F- '{$$NF = "OSDIST.tar.gz" ; print}' \ | sed s:\ :-:g | sed s:OSDIST:\$${OS}:g`" ; \ if [ "$${OLDNAME}x" != "$${NEWNAME}x" ]; then \ |