summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-04 15:02:15 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-04 15:02:15 +0000
commit12112bd8736c417db777a55f35b6409f2ddf9cff (patch)
tree30ef65fca94ea6d51d06803df54127b51a9e6e5b /source3
parent4f31812714c62d358861667ce2b026cb031f1327 (diff)
downloadsamba-12112bd8736c417db777a55f35b6409f2ddf9cff.tar.gz
samba-12112bd8736c417db777a55f35b6409f2ddf9cff.tar.bz2
samba-12112bd8736c417db777a55f35b6409f2ddf9cff.zip
warn user if LIBDIR isn't set right
(This used to be commit 70c2eb1ed93f4691e73e8ab32d81f50ea8785e2c)
Diffstat (limited to 'source3')
-rwxr-xr-xsource3/smbwrapper/smbsh7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/smbwrapper/smbsh b/source3/smbwrapper/smbsh
index c34247e3a4..47c21f8cbe 100755
--- a/source3/smbwrapper/smbsh
+++ b/source3/smbwrapper/smbsh
@@ -1,6 +1,11 @@
#!/bin/sh
-LIBDIR=/home/tridge/samba/cvs/source/smbwrapper
+LIBDIR=/home/tridge/samba/source/smbwrapper
+
+if [ ! -f $LIBDIR/smbwrapper.so ]; then
+ echo You need to set LIBDIR in smbsh
+ exit
+fi
# a simple launcher for the smbwrapper.so preloadde library