Skip to content

Commit

Permalink
Use recommended global checking idiom
Browse files Browse the repository at this point in the history
  • Loading branch information
yanfalies committed Apr 2, 2013
1 parent 5395a53 commit 091d4dc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions plugins/build-metadata
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash
if [ "$BUILD_METADATA" == "" ]; then
die "build-metadata plugin needs a \$BUILD_METADATA value to be set"
fi
true ${BUILD_METADATA:?}
insert_task_after $TASK_CREATE_AMI \
$plugindir/build-metadata-tasks/create-build-metadata

0 comments on commit 091d4dc

Please sign in to comment.