summaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
Diffstat (limited to 'project')
-rwxr-xr-xproject/pydist.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/pydist.sh b/project/pydist.sh
index 26701d0..2997b19 100755
--- a/project/pydist.sh
+++ b/project/pydist.sh
@@ -37,7 +37,7 @@ printf '\t$(PYDIST_PYCDIR)/./_sysconfigdata.py\n\n'
cpvar=$(printf '\tcp -p $(%s)' 'PYDIST_SYSCFG_SRCS')
printf '%-64s$(DESTDIR)/$(LIBDIR)/$(PACKAGE)\n' "$cpvar" >> $pysrcs
-cpvar=$(printf '\tcp -p $(%s:%s.py=%s.pyc)' 'PYDIST_SYSCFG_SRCS' '%' '%')
+cpvar=$(printf '\tcp -p $(%s:%%.py=%%.pyc)' 'PYDIST_SYSCFG_SRCS')
printf '%-68s$(DESTDIR)/$(LIBDIR)/$(PACKAGE)\n' "$cpvar" >> $pypycs
for pydir in $pydirs; do
@@ -52,7 +52,7 @@ for pydir in $pydirs; do
cpvar=$(printf '\tcp -p $(%s)' "$pyvar")
printf '%-64s$(DESTDIR)/$(LIBDIR)/$(PACKAGE)/%s\n' "$cpvar" "$pydir" >> $pysrcs
- cpvar=$(printf '\tcp -p $(%s:%s.py=%s.pyc)' "$pyvar" '%' '%')
+ cpvar=$(printf '\tcp -p $(%s:%%.py=%%.pyc)' "$pyvar")
printf '%-68s$(DESTDIR)/$(LIBDIR)/$(PACKAGE)/%s\n' "$cpvar" "$pydir" >> $pypycs
for pysrc in $pydir/*.py; do