author | kergoth <kergoth> | 2002-02-08 19:07:00 (UTC) |
---|---|---|
committer | kergoth <kergoth> | 2002-02-08 19:07:00 (UTC) |
commit | 03dfc010827b5f179575fd387b15bec2c788e69d (patch) (unidiff) | |
tree | 9187aeb861dd9c62ce2e6a648c451eff97c426b8 | |
parent | 4b9ec6a19874437bc896f0b427a85650ae823359 (diff) | |
download | opie-03dfc010827b5f179575fd387b15bec2c788e69d.zip opie-03dfc010827b5f179575fd387b15bec2c788e69d.tar.gz opie-03dfc010827b5f179575fd387b15bec2c788e69d.tar.bz2 |
Fixed symlink generation for inputmethods and other deep dir structure items.
-rwxr-xr-x | scripts/mksymlinks | 14 |
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 |
2 | cd $OPIEDIR | 2 | cd $OPIEDIR |
3 | 3 | ||
4 | for file in `make showcomponents` | 4 | for file in `make showcomponents` |
5 | do if [ -d $file/pics ] | 5 | do |
6 | then ln -sf $OPIEDIR/$file/pics $OPIEDIR/pics/$file | 6 | if [ -d $file/pics ] |
7 | fi | 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 | ||
8 | done | 12 | done |
9 | |||
10 | |||
11 | |||
12 | |||
13 | exit 0 | 13 | exit 0 |