summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/mksymlinks14
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/mksymlinks b/scripts/mksymlinks
index a32298b..a9050b4 100755
--- a/scripts/mksymlinks
+++ b/scripts/mksymlinks
@@ -1,13 +1,13 @@
1#!/bin/sh 1#!/bin/sh
2cd $OPIEDIR 2cd $OPIEDIR
3 3
4for file in `make showcomponents` 4for file in `make showcomponents`
5do if [ -d $file/pics ] 5do
6then ln -sf $OPIEDIR/$file/pics $OPIEDIR/pics/$file 6 if [ -d $file/pics ]
7fi 7 then
8 dir=`echo $file|sed -e 's#\(.*\)/##g'`
9 path=`echo $file|sed -e "s#\(.*\)$dir#\1#g"`
10 ln -sf $OPIEDIR/$path$dir/pics $OPIEDIR/pics/$dir
11 fi
8done 12done
9
10
11
12
13exit 0 13exit 0