mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
18 lines
232 B
Bash
Executable file
18 lines
232 B
Bash
Executable file
#!/bin/sh
|
|
|
|
. ./version.sh
|
|
|
|
for f in $@ $(git ls-files | egrep -v '^web/|^[.]git$')
|
|
do
|
|
mkdir -p web/$V/$(dirname $f)
|
|
cp $f web/$V/$f
|
|
done
|
|
|
|
cd web
|
|
zip -qr $V.zip $V
|
|
tar cf $V.tar $V
|
|
xz -k9 $V.tar
|
|
gzip -9 $V.tar
|
|
rm -R $V
|
|
|
|
ls -l $V.*
|