mirror of
https://codeberg.org/h3xx/simplify_static_dir
synced 2024-08-14 23:57:24 +00:00
13 lines
270 B
Bash
Executable file
13 lines
270 B
Bash
Executable file
#!/bin/bash
|
|
# vi: et sts=4 sw=4 ts=4
|
|
WORKDIR=${0%/*}
|
|
OUT=$WORKDIR/simplify_static_dir.pl
|
|
|
|
echo "Outputting to $OUT" >&2
|
|
|
|
shopt -s globstar
|
|
"$WORKDIR/util/squash" \
|
|
"$WORKDIR/simplify_static_dir-main.pl" \
|
|
"$WORKDIR"/lib/**/*.pm \
|
|
> "$OUT"
|
|
chmod +x -- "$OUT"
|