opensolutions/ViMbAdmin — Issue #10: Error in library-init.sh
Author: szlwzl
Created: 2012-03-05 21:55:26+00:00
State: open

There's an extra comment in bin/library-init.sh which causes the following error when you try to run it:

./library-init.sh: line 65: http://smarty-php.googlecode.com/svn/tags/Smarty_3_0_9/distribution/libs: No such file or directory

Fix is:

git diff
diff --git a/bin/library-init.sh b/bin/library-init.sh
index ada8983..2fd66ec 100755
--- a/bin/library-init.sh
+++ b/bin/library-init.sh
@@ -62,8 +62,8 @@ fi
if [[ -e $LIBDIR/Smarty ]]; then
echo Smarty exists - skipping!
else
- http://smarty-php.googlecode.com/svn/tags/Smarty_3_0_9/distribution/libs
- #svn co http://smarty-php.googlecode.com/svn/trunk/distribution/libs/ $LIBDIR/Smarty
+ #http://smarty-php.googlecode.com/svn/tags/Smarty_3_0_9/distribution/libs
+ svn co http://smarty-php.googlecode.com/svn/trunk/distribution/libs/ $LIBDIR/Smarty
fi

# ZFDebug