wow! it works perfectly... :) big thanks master earl!
================================ On Sun, May 9, 2010 at 11:42 AM, Earl Lapus <[email protected]> wrote: > On Mon, May 10, 2010 at 12:07 AM, Camilo III Lozano <[email protected]> > wrote: > > i'm new to bash... trying to simplify generating ssl certs... but does > not > > work... > > > > here's the code... > > > > #!/bin/bash > > umask 077 > > > > echo "" > > if [ $# -eq 0 ] ; then > > echo $"Usage: `basename $0` <DOMAIN_NAME> [...]" > > echo "" > > exit 0 > > fi > > > > for target in $@ ; do > > > > keyFile = ${target}.key > > crtFile = ${target}.crt > > csrFile = ${target}.csr > > try removing spaces... as in, > keyFile=${target}.key > crtFile=${target}.crt > csrFile=${target}.csr > > note: it would have been better to send the script as an attachment so > that I would have have sent a diff file... > > -- > There are seven words in this sentence. > _________________________________________________ > Kagay-Anon Linux Users' Group (KLUG) Mailing List > [email protected] (http://lists.linux.org.ph/mailman/listinfo/klug) > Searchable Archives: http://archives.free.net.ph > -- ================== Mobile #: +63916-3338326 Telephone #: Iligan City: (+63)(63) 221-1122 Cagayan de Oro City: (088) 350-7211 St. Michael's College (SA) http://www.smciligan.edu.ph [email protected] http://www.kagayan.com http://dev.kagayan.com http://www.zabyer.org CdeO webby: - http://cdo.kagayan.com - http://cagayandeoro.kagayan.com ------- Got my Own Hacker Key: v3sw3BHhw5ln2pr5OFPck3ma2u4MLw5XVm+5l5UCi5Ne4t3b5en5g5RaIs5MSr3p2 http://www.hackerkey.com Registered Linux User: #439468
_________________________________________________ Kagay-Anon Linux Users' Group (KLUG) Mailing List [email protected] (http://lists.linux.org.ph/mailman/listinfo/klug) Searchable Archives: http://archives.free.net.ph
