aboutsummaryrefslogtreecommitdiffstats
path: root/src/extract.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/extract.sh')
-rwxr-xr-xsrc/extract.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extract.sh b/src/extract.sh
index 8cc82d4..fba12b1 100755
--- a/src/extract.sh
+++ b/src/extract.sh
@@ -2,7 +2,7 @@
set -efu
-input_dir=$1
+input_dir=${1-$PWD}
find "$input_dir" -type f | grep -Pv '/\.|~$' |
while read -r input_file; do