summaryrefslogtreecommitdiff
path: root/scripts/mksymlinks
blob: ebe346eaaec2f336c61ec04bbc332ec94a918908 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
cd $OPIEDIR

for file in `make showcomponents`
do
  dir=`echo $file|sed -e 's#\(.*\)/##g'`
  path=`echo $file|sed -e "s#\(.*\)$dir#\1#g"`
  if [ -d $file/pics -a ! -e $OPIEDIR/pics/$dir ]
  then 
    ln -sf ../$path$dir/pics $OPIEDIR/pics/$dir
  fi
done
exit 0