Use .log extension instead of .txt (for clobbering)

This commit is contained in:
T. Joseph Carter 2015-03-27 19:10:01 -07:00
parent 0e6150d4af
commit a395d977b1
2 changed files with 4 additions and 4 deletions

View File

@ -294,10 +294,10 @@ fi
#LIBRETRO_LOG_DIR="$WORKDIR/log" #LIBRETRO_LOG_DIR="$WORKDIR/log"
# Change this to rename the libretro-super main log file # Change this to rename the libretro-super main log file
#LIBRETRO_LOG_SUPER="libretro-super.txt" #LIBRETRO_LOG_SUPER="libretro-super.log"
# Change this to rename core log files (%s for core's "safe" name) # Change this to rename core log files (%s for core's "safe" name)
#LIBRETRO_LOG_CORE="%s.txt" #LIBRETRO_LOG_CORE="%s.log"
# Comment this if you don't need to see developer output # Comment this if you don't need to see developer output
LIBRETRO_DEVELOPER=1 LIBRETRO_DEVELOPER=1

View File

@ -12,8 +12,8 @@ lecho() {
LIBRETRO_LOG_DIR="${LIBRETRO_LOG_DIR:-$WORKDIR/log}" LIBRETRO_LOG_DIR="${LIBRETRO_LOG_DIR:-$WORKDIR/log}"
LIBRETRO_LOG_CORE="${LIBRETRO_LOG_CORE:-%s.txt}" LIBRETRO_LOG_CORE="${LIBRETRO_LOG_CORE:-%s.log}"
LIBRETRO_LOG_SUPER="${LIBRETRO_LOG_SUPER:-libretro-super.txt}" LIBRETRO_LOG_SUPER="${LIBRETRO_LOG_SUPER:-libretro-super.log}"
if [ -n "$LIBRETRO_LOG_SUPER" ]; then if [ -n "$LIBRETRO_LOG_SUPER" ]; then
super_log="$LIBRETRO_LOG_DIR/$LIBRETRO_LOG_SUPER" super_log="$LIBRETRO_LOG_DIR/$LIBRETRO_LOG_SUPER"
fi fi