WSL/SLF GitLab Repository

Commit e1157706 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

small improvement in order to properly handle directories containing sub-dirs

parent e844917f
......@@ -17,7 +17,7 @@ else
INPUT_DIR=$1
param=$2
fi
files=`ls ${INPUT_DIR}/*.smet`
files=`find ${INPUT_DIR}/* -maxdepth 0 -type f -name "*.smet"`
if [ "${param}" = "time" ]; then
for SMET in ${files}; do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment