Ignore:
Timestamp:
Mar 15, 2010, 10:37:17 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.6, release-1.7, release-1.8, release-1.9
Children:
5643f99
Parents:
25bfc10
Message:
Add usage messages to everything in scripts/
File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/locker-build

    r2b6622a6 r51dbfb5  
    33#########################################################
    44# Build script to build BarnOwl for the locker.
    5 
    6 # Usage: locker-build [-n] [-o OUTPUT-TGZ] SOURCE-TARBALL
    7 # -n is a dry-run, and drops to a shell in the build directory
    8 # -o does the install into a temporary directory and tars it into the
    9 #    specified tarball instead.
    10 # SOURCE-TARBALL is a source tarball, created by do-release
    11 
    125die() {
    136    echo "$@" 2>&1;
     
    2215
    2316usage () {
    24     echo "Usage: $0 [-n] [-o OUTPUT-TGZ] SOURCE-TARBALL"
     17    cat >&2 <<EOF
     18Usage: $0 [-n] [-o OUTPUT-TGZ] SOURCE-TARBALL
     19 -n is a dry-run, and drops to a shell in the build directory
     20 -o does the install into a temporary directory and tars it into the
     21    specified tarball instead.
     22
     23SOURCE-TARBALL is a source tarball, created by do-release.
     24EOF
    2525    exit 2;
    2626}
Note: See TracChangeset for help on using the changeset viewer.