Skip to content
Browse files

add ability to build exact one spec

  • Loading branch information...
1 parent 67a2d1f commit aa845a1d1fb60d4995566732836086ffaaf18c31 @tuxofil tuxofil committed Oct 3, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 yabs.sh
View
4 yabs.sh
@@ -29,7 +29,9 @@ fi
RUNDIR="$1"
[ -z "$RUNDIR" ] && RUNDIR=`pwd`
-if [ -f "$RUNDIR"/specs.list ]; then
+if [ -f "$RUNDIR" ]; then
+ SPECS="$RUNDIR"
+elif [ -f "$RUNDIR"/specs.list ]; then
SPECS=`cat specs.list | \
grep --invert-match --extended-regexp '^\s*#'`
else

0 comments on commit aa845a1

Please sign in to comment.
Something went wrong with that request. Please try again.