tags 489654 + patch
thanks

Shachar Shemesh wrote:

> First, is there a document anywhere that explains what features of
> bash are not available in bourne shell?

There are some pointers in Policy, but using the SUSv3 shell reference
probably be most helpful.
 
> I should note that manually setting the interpreter on that script to 
> /bin/dash does not cause it to break.

Uh, really?

 dash: let: not found

This is easily fixed with:

 @@ -10,7 +10,7 @@
 while [ $times -ne 0 -a $fail -eq 0 ] do
     dd if=/dev/urandom count=$2 bs=1 >> tests/A 2>/dev/null
-    let times--
+    times=$((times-1))
 #rm tests/A.*
     ./rsyncrypto tests/A tests/A.enc tests/A.key tests/cert.crt
     ./rsyncrypto -d tests/A.dec tests/A.enc tests/A.key tests/cert.crt


Regards,

-- 
Chris Lamb, UK                              [EMAIL PROTECTED]
                                                   GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature

Reply via email to