From 12a152189085dc4b46b8e8864501367d5c1bc5d8 Mon Sep 17 00:00:00 2001 From: Nahum Shalman Date: Wed, 13 Aug 2014 16:01:28 -0400 Subject: [PATCH] match build_database function in smartos-live joyent/smartos-live#339 alters the build_database function which was copied into create-smf-repo This commit keeps the two versions in sync --- create-smf-repo | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/create-smf-repo b/create-smf-repo index d81ccc2..6ed5c2b 100755 --- a/create-smf-repo +++ b/create-smf-repo @@ -117,10 +117,9 @@ function build_database rm -f $SVCCFG_REPOSITORY [[ -f $input ]] || fail "can't read manifest input file: $input" - while read service enabled import; do + while read service enabled; do [[ -z "$service" ]] && continue [[ "$service" =~ ^\# ]] && continue - [[ "$import" == "noimport" ]] && continue import_manifest $service $enabled echo $service $enabled