Bugzilla – Attachment 4696 Details for
Bug 6540
Add more options to koha-create
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Signed-off Robin's patch
0005-Bug-6540-SIGNED-OFF-fix-some-command-line-args-issue.patch (text/plain), 1.58 KB, created by
Magnus Enger
on 2011-07-21 09:09:37 UTC
(
hide
)
Description:
Signed-off Robin's patch
Filename:
MIME Type:
Creator:
Magnus Enger
Created:
2011-07-21 09:09:37 UTC
Size:
1.58 KB
patch
obsolete
>From 8f69d6deb33727692657ae2cc24651b4c57a0656 Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Thu, 21 Jul 2011 17:32:09 +1200 >Subject: [PATCH 5/5] Bug 6540 - [SIGNED-OFF] fix some command-line args issues > > >Signed-off-by: Magnus Enger <magnus@enger.priv.no> >--- > debian/scripts/koha-create | 11 ++++++----- > 1 files changed, 6 insertions(+), 5 deletions(-) > >diff --git a/debian/scripts/koha-create b/debian/scripts/koha-create >index 5c742e1..d039e94 100755 >--- a/debian/scripts/koha-create >+++ b/debian/scripts/koha-create >@@ -20,9 +20,10 @@ > set -e > > usage="Usage: $0 [--create-db|--request-db|--populate-db] \ >-[--marcflavor marc21|normarc|unimarc] \ >-[--zebralang en|fr|nb] [--defaultsql /path/to/some.sql] >-[--configfile /path/to/config] instancename" >+ [--marcflavor marc21|normarc|unimarc] \ >+ [--zebralang en|nb|fr] \ >+ [--defaultsql /path/to/some.sql] \ >+ [--configfile /path/to/config] instancename" > > die() { > echo "$@" 1>&2 >@@ -78,7 +79,7 @@ fi > > [ $# -ge 2 ] && [ $# -le 10 ] || die $usage > >-TEMP=`getopt -o crpm:l: -l create-db,request-db,populate-db,marcflavor:,zebralang:,configfile: \ >+TEMP=`getopt -o crpm:l:d:f: -l create-db,request-db,populate-db,marcflavor:,zebralang:,defaultsql:,configfile: \ > -n "$0" -- "$@"` > > # Note the quotes around `$TEMP': they are essential! >@@ -99,7 +100,7 @@ while true ; do > -d|--defaultsql) CLO_DEFAULTSQL="$2" ; shift 2 ;; > -f|--configfile) configfile="$2" ; shift 2 ;; > --) shift ; break ;; >- *) die $usage ;; >+ *) die "Internal error processing command line arguments" ;; > esac > done > >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6540
:
4649
|
4660
|
4677
|
4679
|
4690
|
4691
|
4692
|
4693
|
4694
| 4696 |
5016
|
5100