Portability fixes, as noted by bug #33
[freeradius.git] / raddb / certs / Makefile
index fe4687f..6829f0f 100644 (file)
@@ -115,7 +115,7 @@ serial:
        @echo '01' > serial
 
 random:
-       @if [ -e /dev/urandom ] ; then \
+       @if [ -c /dev/urandom ] ; then \
                dd if=/dev/urandom of=./random count=10 >/dev/null 2>&1; \
        else \
                date > ./random; \