From e6e3b79f74fb17c34adda153e86ccf2f103bc869 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 9 Dec 2002 12:06:15 +0000 Subject: 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) --- source3/script/installmodules.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'source3/script/installmodules.sh') 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 -- cgit