Browse Source

* removed set -e from bin/sde-list-{download,pkg} and implemented arguments

parsing on sde-list-download


git-svn-id: svn://svn.opensde.net/opensde/opensde/trunk@21697 10447126-35f2-4685-b0cf-6dd780d3921f
misl/sde-wrapper
Alejandro Mery 17 years ago
parent
commit
3a8d9d3e3e
2 changed files with 24 additions and 4 deletions
  1. +24
    -2
      bin/sde-list-download
  2. +0
    -2
      bin/sde-list-pkg

+ 24
- 2
bin/sde-list-download

@ -13,8 +13,6 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
set -e
[ -n "$SDEROOT" ] ||
export SDEROOT=$( cd "${0%/*}/.."; pwd -P )
@ -38,4 +36,28 @@ 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"

+ 0
- 2
bin/sde-list-pkg

@ -13,8 +13,6 @@
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
set -e
[ -n "$SDEROOT" ] ||
export SDEROOT=$( cd "${0%/*}/.."; pwd -P )

Loading…
Cancel
Save