summaryrefslogtreecommitdiff
path: root/source3/script/installmodules.sh
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2002-12-09 12:06:15 +0000
committerSimo Sorce <idra@samba.org>2002-12-09 12:06:15 +0000
commite6e3b79f74fb17c34adda153e86ccf2f103bc869 (patch)
tree8e61e7662f49e9ed3afd2f01705772150ff02786 /source3/script/installmodules.sh
parent2ad2557d1136e24549277e8a6c6b19fd37b7c091 (diff)
downloadsamba-e6e3b79f74fb17c34adda153e86ccf2f103bc869.tar.gz
samba-e6e3b79f74fb17c34adda153e86ccf2f103bc869.tar.bz2
samba-e6e3b79f74fb17c34adda153e86ccf2f103bc869.zip
make vfs recycle use vfs facilities correctly!
WARNING: every vfs module maintainer should look at these changes to understand how to properly write a vfs module in head!! also make installmodules work correctly when the directory structure is not yet in place. Simo. (This used to be commit 6dfa46098679681a6d2c931395d6eeae2a978466)
Diffstat (limited to 'source3/script/installmodules.sh')
-rwxr-xr-xsource3/script/installmodules.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/source3/script/installmodules.sh b/source3/script/installmodules.sh
index 9b9d950ca2..ec5691992d 100755
--- a/source3/script/installmodules.sh
+++ b/source3/script/installmodules.sh
@@ -7,6 +7,16 @@ shift
shift
shift
+for d in $BASEDIR $LIBDIR; do
+if [ ! -d $d ]; then
+mkdir $d
+if [ ! -d $d ]; then
+ echo Failed to make directory $d
+ exit 1
+fi
+fi
+done
+
for p in $*; do
p2=`basename $p`
echo Installing $p as $LIBDIR/$p2