Mercurial > hg > control-images
comparison build.sh @ 32:676e1b843ee4
Check for a bug that keeps hitting me when I forget to set $PATH. :)
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 01 Nov 2012 16:57:15 -0500 |
parents | 8c1a9d4cb1d2 |
children |
comparison
equal
deleted
inserted
replaced
31:7dbea2d7d3ae | 32:676e1b843ee4 |
---|---|
19 source $BUILDER && | 19 source $BUILDER && |
20 squash_image | 20 squash_image |
21 ) | 21 ) |
22 } | 22 } |
23 | 23 |
24 if [ -z "$(which mksquashfs)" ] | |
25 then | |
26 echo "no mksquashfs in \$PATH" | |
27 exit 1 | |
28 fi | |
29 | |
24 if [ "$1" != all ] | 30 if [ "$1" != all ] |
25 then | 31 then |
26 build_control_image "$1" | 32 build_control_image "$1" |
27 else | 33 else |
28 for i in $(ls images) | 34 for i in $(ls images) |