1#!/bin/sh 2whoami | grep root > /dev/null 3if [ $? -eq 0 ];then 4 chmod 755 $1 5else 6 echo "" 7 echo " ************** WARNING **************" 8 echo " Cannot change permission or ownership of \"$1\"." 9 echo " Tests in this directory will fail." 10 echo " Run "make install" as root." 11 echo " *************************************" 12 sleep 2 13fi 14 15