Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Feb 6, 2024
1 parent ffe0f46 commit a62e3f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions CLAM-2256/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ FILE=unit_tests/deflate.alz
FILE=unit_tests/uncompressed.alz
FILE=unit_tests/bzip2.alz
FILE=unit_tests/bzip2.bin.alz
FILE=unit_tests/uncompressed.bin.alz

rm -rf outDir unalz

Expand Down
3 changes: 0 additions & 3 deletions CLAM-2256/unit_tests/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,13 @@ def addFile(fileName, outFile, bzip2, inDir):
parser.print_help()
sys.exit(1)

print (f"before {inDir}")
while 1 < len(inDir):

if '/' == inDir[len(inDir)-1] or '\\' == inDir[len(inDir)-1]:
inDir = inDir[:-1]
else:
break

print (f"after {inDir}")

outFile = open(options.outFile, "wb")
writeFileHeader(outFile)

Expand Down

0 comments on commit a62e3f1

Please sign in to comment.