diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2007-03-29 22:24:52 +0000 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2007-03-29 22:24:52 +0000 |
| commit | ff6147ed3ef80b251f5c14aefb2fb5d5a02f2669 (patch) | |
| tree | d0a5e61c56aa48a744c2159dceec7f88a8151819 /ldap/admin/src/scripts | |
| parent | 2bbf4e5d30873ecf9c7d75dd7f17652ac27db9ef (diff) | |
| download | ds-ff6147ed3ef80b251f5c14aefb2fb5d5a02f2669.tar.gz ds-ff6147ed3ef80b251f5c14aefb2fb5d5a02f2669.tar.xz ds-ff6147ed3ef80b251f5c14aefb2fb5d5a02f2669.zip | |
Resolves: 233027
Summary: make db2bak.pl & db2ldif.pl user more user-friendly (Comment #10)
Change: fixed 'db2ldif -s ""' fails with shift unavailable
Diffstat (limited to 'ldap/admin/src/scripts')
| -rwxr-xr-x | ldap/admin/src/scripts/template-db2ldif.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ldap/admin/src/scripts/template-db2ldif.in b/ldap/admin/src/scripts/template-db2ldif.in index 655a8416..2f746703 100755 --- a/ldap/admin/src/scripts/template-db2ldif.in +++ b/ldap/admin/src/scripts/template-db2ldif.in @@ -44,7 +44,9 @@ make_ldiffile() elif [ "$1" = "-M" ]; then be="" fi - shift + if [ "$1" != "" ]; then + shift + fi done if [ "$be" = "" ]; then |
