return to first page linux journal archive
keywordscontents

Listing 1

#!/bin/sh
fnlib=/usr/local/fnlib
freetype=/usr/local/freetype
for dir in lib include 
do
  cd $fnlib/$dir 
  for file in *
  do
   echo ln -s $fnlib/$dir/$file /usr/local/$dir
  done
  cd $freetype/$dir 
  for file in *
  do
   echo ln -s $freetype/$dir/$file /usr/local/$dir
  done
done