(Attaching patch)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] / chris-lamb.co.uk
`-
diff --git a/make/dh-lua.Makefile.single b/make/dh-lua.Makefile.single
index 603d463..fa58745 100644
--- a/make/dh-lua.Makefile.single
+++ b/make/dh-lua.Makefile.single
@@ -414,12 +414,12 @@ installcommon:
# debian/substvars
$(H)for P in $(shell $(call all_packages_with_luaVersions)); do \
echo Filling in debian/$$P.substvars; \
- echo lua:Versions=`cat debian/lua_versions` | \
+ echo lua:Versions=`LC_ALL=C sort debian/lua_versions` | \
$(call merge_with, debian/$$P.substvars);\
done
$(H)for P in $(shell $(call all_packages_with_luaProvides)); do \
ACC=""; \
- for V in `cat debian/lua_versions`; do \
+ for V in `LC_ALL=C sort debian/lua_versions`; do \
PV=`echo $$P | sed "s/^lua-/lua$$V-/"`; \
ACC="$$PV, $$ACC"; \
done; \