Commit 1d397231 authored by Ian Lynagh's avatar Ian Lynagh

Fix the "have we got all the bootlibs" check

The packages file has an extra component (for "darcs" or "git") so we need
to take that into account when grepping.
parent 60b50498
......@@ -88,7 +88,7 @@ endif
# Sanity check that all the boot libraries are in the tree, to catch
# failure to run darcs-all.
check-packages :
@ds=`grep "^[^# ][^ ]* *[^ ][^ ]*$$" packages | sed "s/ .*//"`;\
@ds=`grep "^[^# ][^ ]* *[^ ][^ ]* *[^ ][^ ]*$$" packages | sed "s/ .*//"`;\
for d in $$ds; do \
if test ! -d $$d; then \
echo "Looks like you're missing $$d,"; \
......
......@@ -2,7 +2,7 @@
set -e
# Check that we have all boot packages.
for dir in `grep "^[^# ][^ ]* *[^ ][^ ]*$" packages | sed "s/ .*//"`
for dir in `grep "^[^# ][^ ]* *[^ ][^ ]* *[^ ][^ ]*$" packages | sed "s/ .*//"`
do
if test ! -d $dir
then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment