author | kergoth <kergoth> | 2002-02-08 22:06:07 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-02-08 22:06:07 (UTC) |
commit | cde778848f13e384e55e66117754578d12a5b1e2 (patch) (unidiff) | |
tree | 22af144ad44528750f31d8b776dc5b81491ef7d1 | |
parent | 03dfc010827b5f179575fd387b15bec2c788e69d (diff) | |
download | opie-cde778848f13e384e55e66117754578d12a5b1e2.zip opie-cde778848f13e384e55e66117754578d12a5b1e2.tar.gz opie-cde778848f13e384e55e66117754578d12a5b1e2.tar.bz2 |
update.
-rwxr-xr-x | scripts/mksymlinks | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/mksymlinks b/scripts/mksymlinks index a9050b4..ebe346e 100755 --- a/scripts/mksymlinks +++ b/scripts/mksymlinks | |||
@@ -3,11 +3,11 @@ cd $OPIEDIR | |||
3 | 3 | ||
4 | for file in `make showcomponents` | 4 | for file in `make showcomponents` |
5 | do | 5 | do |
6 | if [ -d $file/pics ] | ||
7 | then | ||
8 | dir=`echo $file|sed -e 's#\(.*\)/##g'` | 6 | dir=`echo $file|sed -e 's#\(.*\)/##g'` |
9 | path=`echo $file|sed -e "s#\(.*\)$dir#\1#g"` | 7 | path=`echo $file|sed -e "s#\(.*\)$dir#\1#g"` |
10 | ln -sf $OPIEDIR/$path$dir/pics $OPIEDIR/pics/$dir | 8 | if [ -d $file/pics -a ! -e $OPIEDIR/pics/$dir ] |
9 | then | ||
10 | ln -sf ../$path$dir/pics $OPIEDIR/pics/$dir | ||
11 | fi | 11 | fi |
12 | done | 12 | done |
13 | exit 0 | 13 | exit 0 |