summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2019-01-29 16:47:32 +0100
committerDirk Engling <erdgeist@erdgeist.org>2019-01-29 16:47:32 +0100
commit3dfb10ab2731c685d67481112049870a764bea0d (patch)
tree79d765bad77c08ce36fa11a6bd285647e0a569af
parentaf046f01f8350f1bc9e585656cb56f3508a65d7f (diff)
depth -> maxdepth
-rwxr-xr-xmakecolumns.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/makecolumns.sh b/makecolumns.sh
index b15a2dd..9f6f8b8 100755
--- a/makecolumns.sh
+++ b/makecolumns.sh
@@ -179,7 +179,7 @@ handle_format_version_3() {
179 export filename_len=$(( `ls | head -n 1 | wc -c` - 1 )) 179 export filename_len=$(( `ls | head -n 1 | wc -c` - 1 ))
180 180
181 # Get total amount of files, for reporting progress 181 # Get total amount of files, for reporting progress
182 number_of_files=`find ${FIND_E} . -depth 1 -regex '^\./[0123456789]+' | wc -l` 182 number_of_files=`find ${FIND_E} . -maxdepth 1 -regex '^\./[0123456789]+' | wc -l`
183 183
184 # from 2000F on file 0+3*n is table, so make it default 184 # from 2000F on file 0+3*n is table, so make it default
185 table_file=0; vname_file=2 185 table_file=0; vname_file=2
@@ -232,7 +232,7 @@ handle_format_version_3() {
232 232
233 # wipe all temporary extracted files 233 # wipe all temporary extracted files
234 printf "Cleaning up decompressed chunks ... " 234 printf "Cleaning up decompressed chunks ... "
235 find ${FIND_E} . -depth 1 -regex '^\./[0123456789]+' -delete 235 find ${FIND_E} . -maxdepth 1 -regex '^\./[0123456789]+' -delete
236 printf "done.\n" 236 printf "done.\n"
237 237
238 # rename our columns extracted from the table file 238 # rename our columns extracted from the table file