diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-08-13 04:11:50 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-08-13 04:11:50 +0000 |
commit | fd4c40a00da975e4d6caf924877c695eb02b5982 (patch) | |
tree | 346c2ad089599ecc7292e5f5a56443da357cc7a3 /source3/script/linkmodules.sh | |
parent | 998ded9155ce22008a4563d678dfb2a4d1385726 (diff) | |
download | samba-fd4c40a00da975e4d6caf924877c695eb02b5982.tar.gz samba-fd4c40a00da975e4d6caf924877c695eb02b5982.tar.xz samba-fd4c40a00da975e4d6caf924877c695eb02b5982.zip |
Create symlinks for modules that register multiple functions (fixes bug #91 )
(This used to be commit 3000a99b2dc4fbffe4f20b92b22b9658d6620b65)
Diffstat (limited to 'source3/script/linkmodules.sh')
-rwxr-xr-x | source3/script/linkmodules.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/script/linkmodules.sh b/source3/script/linkmodules.sh new file mode 100755 index 00000000000..16a04cc064b --- /dev/null +++ b/source3/script/linkmodules.sh @@ -0,0 +1,12 @@ +#!/bin/sh + +cd "$1" +test -f "$2" || exit 0 + +for I in $3 $4 $5 $6 $7 $8 +do + echo "Linking $I to $2" + ln -s $2 $I +done + +exit 0 |