warn user if LIBDIR isn't set right
authorAndrew Tridgell <tridge@samba.org>
Sun, 4 Oct 1998 15:02:15 +0000 (15:02 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sun, 4 Oct 1998 15:02:15 +0000 (15:02 +0000)
(This used to be commit 70c2eb1ed93f4691e73e8ab32d81f50ea8785e2c)

source3/smbwrapper/smbsh

index c34247e3a415f2e3bcdf0e210083baf48e7dd60e..47c21f8cbec05683d706ed2c5f465f385351f167 100755 (executable)
@@ -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