Browse Source

Improved `sde up` to assume sde up tree only when called without arguments, but sde up pkg when called with arguments

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
795f4f12b0
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      bin/sde-update

+ 3
- 3
bin/sde-update

@ -25,7 +25,7 @@
command='update'
if [ $# -eq 0 ]; then
# assuming default
# assuming update tree
discriminator='tree'
elif [ "$1" = "--help" ]; then
sde_wrapper_discriminator_help "$command"
@ -33,8 +33,8 @@ elif [ "$1" = "--help" ]; then
else
discriminator=$( sde_wrapper_discriminator "$command" "$1" )
if [ -z "$discriminator" ]; then
# assuming default
discriminator='tree'
# assuming update package
discriminator='package'
else
shift;
fi

Loading…
Cancel
Save