diff root-image.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 2059add65b8c
children f1d2afdf2034
line wrap: on
line diff
--- a/root-image.sh	Sun Jun 26 17:42:52 2011 -0500
+++ b/root-image.sh	Sun Jun 26 17:44:02 2011 -0500
@@ -4,9 +4,9 @@
 
 source sources/include.sh || exit 1
 
-# Parse the sources/targets/$1 directory
+# Parse sources/targets/$1
 
-read_arch_dir "$1"
+load_target "$1"
 
 # Which directory do we package up?