mirror of https://github.com/dirtbags/moth.git
Get logger working with new token system
This commit is contained in:
parent
d260a2d55a
commit
46f831d644
|
@ -6,4 +6,4 @@ bin/
|
||||||
build/
|
build/
|
||||||
cache/
|
cache/
|
||||||
target/
|
target/
|
||||||
|
packages/forensics
|
||||||
|
|
15
mkpuzzles
15
mkpuzzles
|
@ -77,22 +77,27 @@ for dn in $indir/[0-9]*; do
|
||||||
touch $tgt/index.html
|
touch $tgt/index.html
|
||||||
|
|
||||||
if [ -f $dn/Makefile ]; then
|
if [ -f $dn/Makefile ]; then
|
||||||
# If there's a makefile, run make
|
# If there's a Makefile, run make
|
||||||
make -C $dn DESTDIR=$(pwd)/$tgt || exit 1
|
make -C $dn || exit 1
|
||||||
files=$(cd $tgt; echo *)
|
files=$(cd $tgt; echo *)
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f $dn/@manifest.txt ]; then
|
||||||
|
# If there's a manifest, use that
|
||||||
|
files=$(cat $dn/@manifest.txt)
|
||||||
else
|
else
|
||||||
# Otherwise, look for special files and copy the rest
|
# Otherwise, look for special files and copy the rest
|
||||||
files=
|
files=
|
||||||
for fn in $dn/*; do
|
for fn in $dn/*; do
|
||||||
case $(basename $fn) in
|
case $(basename $fn) in
|
||||||
@*)
|
@*)
|
||||||
# Handle meta-information later
|
# Handle meta-information later
|
||||||
;;
|
;;
|
||||||
*~|"#"*)
|
*~|"#"*)
|
||||||
# Don't copy temporary or backup files
|
# Don't copy temporary or backup files
|
||||||
;;
|
;;
|
||||||
,*)
|
,*)
|
||||||
# Copy but don't list
|
# Copy but don't list
|
||||||
ln -f $fn $tgt/
|
ln -f $fn $tgt/
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
../../../src/arc4.c
|
|
@ -0,0 +1 @@
|
||||||
|
../../../src/arc4.h
|
Loading…
Reference in New Issue