Author: wyoung
Date: Thu Nov 22 04:13:03 2007
New Revision: 1880
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1880&view=rev
Log:
Style tweak to exrun
Modified:
trunk/exrun
Modified: trunk/exrun
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/exrun?rev=1880&r1=1879&r2=1880&view=diff
==============================================================================
--- trunk/exrun (original)
+++ trunk/exrun Thu Nov 22 04:13:03 2007
@@ -37,14 +37,12 @@
elif [ `uname -o` == 'Cygwin' ]
then
cmd.exe /c exrun.bat $PROG $*
+ elif [ -e /usr/bin/ldd ]
+ then
+ ln -sf libmysqlpp.so libmysqlpp.so.2
+ LD_LIBRARY_PATH=. $TOOL ./$PROG $*
else
- if [ -e /usr/bin/ldd ]
- then
- ln -sf libmysqlpp.so libmysqlpp.so.2
- LD_LIBRARY_PATH=. $TOOL ./$PROG $*
- else
- echo "ERROR: I don't grok this system's dynamic linkage
system."
- fi
+ echo "ERROR: I don't grok this system's dynamic linkage system."
fi
else
echo "usage: $0 $TOOL <example> [args...]"
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits