Skip to content

Commit

Permalink
Add missing piece of logfile config option thingy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Subsentient committed Jun 18, 2015
1 parent 1757517 commit 318868f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildepoch.sh
Expand Up @@ -22,7 +22,7 @@ ShowHelp()
printf $Green"--nommu"$EndGreen":\n\tUse this to build Epoch for a CPU with no MMU.\n"
printf $Green"--configdir dir"$EndGreen":\n\tSets the directory Epoch will search for epoch.conf.\n"
printf "\tDefault is /etc/epoch.\n"
printf $Green"--logdir dir"$EndGreen":\n\tSets the directory Epoch will write system.log to.\n"
printf $Green"--logfile file"$EndGreen":\n\tSets the file Epoch will use as its logfile.\n"
printf "\tDefault is /var/log.\n"
printf $Green"--binarypath path"$EndGreen":\n\tThe direct path to the Epoch binary. Default is /sbin/epoch.\n"
printf $Green"--env-home value"$EndGreen":\n\tDesired environment variable for \$HOME.\n"
Expand Down Expand Up @@ -79,9 +79,9 @@ if [ "$#" != "0" ]; then
shift
CFLAGS=$CFLAGS" -DEPOCH_BINARY_PATH=\"$1\""

elif [ "$1" = "--logdir" ]; then
elif [ "$1" = "--logfile" ]; then
shift
CFLAGS=$CFLAGS" -DLOGDIR=\"$1\""
CFLAGS=$CFLAGS" -DLOGFILE=\"$1\""

elif [ "$1" = "--env-home" ]; then
shift
Expand Down

0 comments on commit 318868f

Please sign in to comment.