Date: Fri, 29 Aug 1997 09:50:14 +0900 From: itojun@itojun.org To: Wolfram Schneider <wosch@apfel.de> Cc: cvs-committers@freebsd.org, cvs-all@freebsd.org, cvs-usrbin@freebsd.org, Ulrich Drepper <drepper@ipd.info.uni-karlsruhe.de>, joerg_wunsch@uriah.heep.sax.de Subject: Re: cvs commit: src/usr.bin/shar shar.sh Message-ID: <10111.872815814@itojun.csl.sony.co.jp> In-Reply-To: Wolfram Schneider <wosch@apfel.de>'s message of 28 Aug 1997 23:09:53 %2B0200. <p1ik9h6m2u6.fsf@panke.panke.de> References: <p1ik9h6m2u6.fsf@panke.panke.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>> Modified files: >> usr.bin/shar shar.sh >> Log: >> To cope with shell archive file generated by GNU sharutils 4.2. >> (it assumes that shar will bark if there's invalid argument specified) >The patch is not complete. shar(1) still exit with value >zero even a file is not readable. Sorry my mistake. I've applied one more patch. itojun -- Index: shar.sh =================================================================== RCS file: /home/ncvs/src/usr.bin/shar/shar.sh,v retrieving revision 1.2 diff -r1.2 shar.sh 44,45c44,45 < if [ ! -e $i ]; then < echo "$i does not exist" 1>&2 --- > if [ ! \( -d $i -o -r $i \) ]; then > echo "$i inaccessible or not exist" 1>&2 75c75 < sed 's/^/X/' $i --- > sed 's/^/X/' $i || exit
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10111.872815814>