changeset 15:8c1a9d4cb1d2

Fix to previous commit: allow build.sh to run a build without a symlink to common/builder.sh
author Rob Landley <rob@landley.net>
date Sun, 30 Oct 2011 17:58:22 -0500
parents 1da81fbd78a8
children 0bdce741ba83
files build.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build.sh	Sun Oct 30 13:31:10 2011 -0500
+++ b/build.sh	Sun Oct 30 17:58:22 2011 -0500
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-if [ "$1" != "all" ] && [ ! -x "images/$1/build.sh" ]
+if [ "$1" != "all" ] && [ ! -d "images/$1" ]
 then
   echo 'Available images (or "all"):'
   ls images