[GRASS-SVN] r50766 - grass-addons/tools/addons
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Feb 11 14:56:41 EST 2012
Author: martinl
Date: 2012-02-11 11:56:41 -0800 (Sat, 11 Feb 2012)
New Revision: 50766
Modified:
grass-addons/tools/addons/compile.sh
Log:
wingrass/addons: log->logs
Modified: grass-addons/tools/addons/compile.sh
===================================================================
--- grass-addons/tools/addons/compile.sh 2012-02-11 19:50:16 UTC (rev 50765)
+++ grass-addons/tools/addons/compile.sh 2012-02-11 19:56:41 UTC (rev 50766)
@@ -21,8 +21,8 @@
cd "$SVN_PATH"
-mkdir "$ADDON_PATH/log"
-touch "$ADDON_PATH/log/ALL.log"
+mkdir "$ADDON_PATH/logs"
+touch "$ADDON_PATH/logs/ALL.log"
echo "-----------------------------------------------------"
echo "AddOns '$ADDON_PATH'..."
@@ -48,12 +48,12 @@
HTMLDIR="$path/docs/html" \
MANDIR="$path/man/man1" \
SCRIPTDIR="$path/scripts" \
- ETC="$path/etc" > "$ADDON_PATH/log/$m.log" 2>&1
+ ETC="$path/etc" > "$ADDON_PATH/logs/$m.log" 2>&1
if [ `echo $?` -eq 0 ] ; then
- printf "%-30s%s\n" "$c/$m" "SUCCESS" >> "$ADDON_PATH/log/ALL.log"
+ printf "%-30s%s\n" "$c/$m" "SUCCESS" >> "$ADDON_PATH/logs/ALL.log"
echo " SUCCESS"
else
- printf "%-30s%s\n" "$c/$m" "FAILED" >> "$ADDON_PATH/log/ALL.log"
+ printf "%-30s%s\n" "$c/$m" "FAILED" >> "$ADDON_PATH/logs/ALL.log"
echo " FAILED"
fi
cd ..
More information about the grass-commit
mailing list