commit a7b4924f22ac983692a264cee894a6e0ed270503
parent 0b4fe2ac22fea20ea559aeee6aa76c1ded37e6f7
Author: Daniel Bainton <dpb@driftaway.org>
Date: Sat, 1 Mar 2014 20:34:03 +0000
Support packages with digits as their first character
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/mkfile b/mkfile
@@ -26,13 +26,13 @@ fetch-all fetch-world:VQ: ${fetchpkgs}
`{ cd pkgs && for pkg in *; do cat $pkg ../stuff/fetch-pkg.mk |\
sed -e "s,^build:,$pkg:QP./stuff/cmp-pkgs: $pkg-fetch pkgs/$pkg," |\
sed -e "s,^fetch-target:,$pkg-fetch:," |\
- sed -e "s,^v=,${pkg}_v=," |\
- sed -e "s,\$v,\${${pkg}_v}," |\
- sed -e "s,\$url,\${${pkg}_url}," |\
- sed -e "s, url=, ${pkg}_url=," |\
- sed -e "s,\$git,\${${pkg}_git}," |\
- sed -e "s,^git=,${pkg}_git=," |\
- sed -e "s,^url=,${pkg}_url=," >> ../pkgs.mk; done }
+ sed -e "s,^v=,_${pkg}_v=," |\
+ sed -e "s,\$v,\${_${pkg}_v}," |\
+ sed -e "s,\$url,\${_${pkg}_url}," |\
+ sed -e "s, url=, _${pkg}_url=," |\
+ sed -e "s,\$git,\${_${pkg}_git}," |\
+ sed -e "s,^git=,_${pkg}_git=," |\
+ sed -e "s,^url=,_${pkg}_url=," >> ../pkgs.mk; done }
<pkgs.mk