2151 |
echo " Determining the list of source and include files" |
echo " Determining the list of source and include files" |
2152 |
rm -rf .links.tmp |
rm -rf .links.tmp |
2153 |
mkdir .links.tmp |
mkdir .links.tmp |
2154 |
|
touch .links.tmp/foo |
2155 |
|
if test ! -r ".links.tmp/foo" ; then |
2156 |
|
echo |
2157 |
|
echo "ERROR : something is wrong with your directory permissions or" |
2158 |
|
echo " your user file-creation mask (\"umask\") since creating a" |
2159 |
|
echo " sub-dir, touch-ing a file within it, and then reading it is" |
2160 |
|
echo " not working. Please try setting your umask to something" |
2161 |
|
echo " sane such as:" |
2162 |
|
echo |
2163 |
|
echo " umask 0002" |
2164 |
|
echo |
2165 |
|
echo " and please verify that you have the proper permissions for" |
2166 |
|
echo " creating sub-directories and then reading files created" |
2167 |
|
echo " within them." |
2168 |
|
echo |
2169 |
|
exit 1 |
2170 |
|
fi |
2171 |
|
rm -f .links.tmp/foo |
2172 |
echo "# This section creates symbolic links" > srclinks.tmp |
echo "# This section creates symbolic links" > srclinks.tmp |
2173 |
echo "" >> srclinks.tmp |
echo "" >> srclinks.tmp |
2174 |
printf 'SRCFILES = ' > srclist.inc |
printf 'SRCFILES = ' > srclist.inc |