mirror of
https://codeberg.org/h3xx/simplify_static_dir
synced 2024-08-14 23:57:24 +00:00
14 lines
266 B
Bash
14 lines
266 B
Bash
|
#!/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"/**/*.pm \
|
||
|
> "$OUT"
|
||
|
chmod +x -- "$OUT"
|