#!/bin/sh # --- SDE-COPYRIGHT-NOTE-BEGIN --- # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: bin/sde-list-download # Copyright (C) 2007 The OpenSDE Project # # More information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. A copy of the # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- [ -n "$SDEROOT" ] || export SDEROOT=$( cd "${0%/*}/.."; pwd -P ) . $SDEROOT/lib/libsde.in list_usage() { local progname=${0##*/} cat <] [-erkl] [ITEMS...] EOT } shortopts='c:erkl' longopts='cfg:,extenders,repositories,checksum,location' options=$( getopt -o "$shortopts" -l "$longopts" -- "$@" ) if [ $? -ne 0 ]; then list_usage exit -1 fi # load new arguments list eval set -- "$options" config= extenders= repositories= checksum= location= while [ $# -gt 0 ]; do case "$1" in --) shift; break ;; -c|--cfg) shift; config="$1" ;; -e|--extenders) extenders=yes ;; -r|--repositories) repositories=yes ;; -k|--checksum) checksum=yes ;; -l|--location) location=yes ;; esac shift done echo_abort 1 "Not yet implemented"