diff root-filesystem.sh @ 1398:b74d36876c0a

Replace read_arch_dir with load_target, which understands that sources/targets/$TARGET can be a file or a directory.
author Rob Landley <rob@landley.net>
date Sun, 26 Jun 2011 17:44:02 -0500
parents c7dfe0e54a80
children f1d2afdf2034
line wrap: on
line diff
--- a/root-filesystem.sh	Sun Jun 26 17:42:52 2011 -0500
+++ b/root-filesystem.sh	Sun Jun 26 17:44:02 2011 -0500
@@ -4,7 +4,7 @@
 
 . sources/include.sh || exit 1
 
-read_arch_dir "$1"
+load_target "$1"
 
 [ ! -d "$BUILD/simple-root-filesystem-$ARCH" ] &&
   echo "No $BUILD/simple-root-filesystem-$ARCH" >&2 &&