Skip to content

Commit

Permalink
Merge branch 'master' of github.com:john30/ebusd
Browse files Browse the repository at this point in the history
  • Loading branch information
john30 committed Dec 17, 2016
2 parents a2770f5 + 538af10 commit 8dce270
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion make_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ PACKAGE="${RELEASE}_${ARCH}.deb"
rm -rf "$BUILD"
mkdir -p "$BUILD" || exit 1
cd "$BUILD" || exit 1
(tar cf - -C .. "--exclude=./$BUILD" --exclude=./.* .| tar xf -) || exit 1
(tar cf - -C .. "--exclude=./$BUILD" --exclude=./.* "--exclude=*.o" "--exclude=*.a" .| tar xf -) || exit 1

echo
echo "*************"
Expand Down
2 changes: 1 addition & 1 deletion make_freetz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export PATH=$PATH:/usr/mipsel-linux-uclibc/bin
rm -rf "$BUILD"
mkdir -p "$BUILD" || exit 1
cd "$BUILD" || exit 1
(tar cf - -C .. "--exclude=./$BUILD" --exclude=./.* .| tar xf -) || exit 1
(tar cf - -C .. "--exclude=./$BUILD" --exclude=./.* "--exclude=*.o" "--exclude=*.a" .| tar xf -) || exit 1

echo
echo "*************"
Expand Down
4 changes: 4 additions & 0 deletions src/ebusd/mainloop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,13 @@ MainLoop::MainLoop(const struct options opt, Device *device, MessageMap* message
m_device->setListener(this);
if (opt.dumpFile[0]) {
m_dumpFile = new RotateFile(opt.dumpFile, opt.dumpSize);
} else {
m_dumpFile = NULL;
}
if (opt.logRawFile[0] && strcmp(opt.logRawFile, opt.logFile)!=0) {
m_logRawFile = new RotateFile(opt.logRawFile, opt.logRawSize, true);
} else {
m_logRawFile = NULL;
}
m_logRawEnabled = opt.logRaw;
// create BusHandler
Expand Down

0 comments on commit 8dce270

Please sign in to comment.