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

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