-rwxr-xr-x | scripts/mksymlinks | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/mksymlinks b/scripts/mksymlinks index a9050b4..ebe346e 100755 --- a/scripts/mksymlinks +++ b/scripts/mksymlinks | |||
@@ -5,7 +5,7 @@ for file in `make showcomponents` | |||
5 | do | 5 | do |
6 | if [ -d $file/pics ] | 6 | dir=`echo $file|sed -e 's#\(.*\)/##g'` |
7 | path=`echo $file|sed -e "s#\(.*\)$dir#\1#g"` | ||
8 | if [ -d $file/pics -a ! -e $OPIEDIR/pics/$dir ] | ||
7 | then | 9 | then |
8 | dir=`echo $file|sed -e 's#\(.*\)/##g'` | 10 | ln -sf ../$path$dir/pics $OPIEDIR/pics/$dir |
9 | path=`echo $file|sed -e "s#\(.*\)$dir#\1#g"` | ||
10 | ln -sf $OPIEDIR/$path$dir/pics $OPIEDIR/pics/$dir | ||
11 | fi | 11 | fi |