Open GoogleCodeExporter opened 9 years ago
对不起,应该是
Index: auto_build
===================================================================
--- auto_build (revision 516)
+++ auto_build (working copy)
@@ -133,13 +133,15 @@
thread_num=1
fi
-$top=$(dirname $(readlink -f $0))
-if [ -r "$top/etc/bamboo/build_settings" ]
- source $top/etc/build_settings
-if [ -r "/etc/bamboo/build_settings" ]
- source /etc/bamboo/build_settings
+top="$(dirname $(readlink -f $0))/.."
+if [ -r "$top/etc/build_settings" ]; then
+ source $top/etc/build_settings
fi
+if [ -r "/etc/bamboo/build_settings" ]; then
+ source /etc/bamboo/build_settings
+fi
+
mkdir -p $data_dir $build_dir $index_dir
if [ -z ${corpus_file} ]; then
Original comment by tchai...@gmail.com
on 18 Feb 2010 at 5:17
fix committed
Original comment by laserhe...@gmail.com
on 25 Mar 2010 at 3:28
Original issue reported on code.google.com by
tchai...@gmail.com
on 18 Feb 2010 at 4:45