diff options
author | Paul W. Frields <stickster@gmail.com> | 2006-01-16 13:54:43 +0000 |
---|---|---|
committer | Paul W. Frields <stickster@gmail.com> | 2006-01-16 13:54:43 +0000 |
commit | 1820942e94aa005370b14692d3333ddc6b496e28 (patch) | |
tree | cb1e04fb5c3e11510ea259264d1b64fb4ef71276 /bin | |
parent | 28c05f9ae6fcd73683359199b713aa785289b220 (diff) | |
download | fedora-doc-utils-1820942e94aa005370b14692d3333ddc6b496e28.tar.gz fedora-doc-utils-1820942e94aa005370b14692d3333ddc6b496e28.tar.xz fedora-doc-utils-1820942e94aa005370b14692d3333ddc6b496e28.zip |
Make OTHERNAME setting scriptable
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/insert-colophon | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/insert-colophon b/bin/insert-colophon index d2930c2..0ed995b 100755 --- a/bin/insert-colophon +++ b/bin/insert-colophon @@ -15,8 +15,10 @@ while test -z "$FIRSTNAME"; do read FIRSTNAME done -echo -n "Enter contributor's middle initial/name (leave blank for NONE): " -read OTHERNAME +if ! ( set | grep "^OTHERNAME" >/dev/null ); then + echo -n "Enter contributor's middle initial/name (leave blank for NONE): " + read OTHERNAME +fi while test -z "$SURNAME"; do echo -n "Enter contributor's surname: " |