-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.sh
executable file
·63 lines (59 loc) · 4.06 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#!/bin/sh
COPYFILE_DISABLE=1; export COPYFILE_DISABLE
ADDON_NAME=jp-hb-devices
file=./patchsource/www/rega/esp/functions.fn
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/pda/eq3/controls/rhs.tcl
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/webui/webui.js
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/config/ic_common.tcl
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/config/ic_linkpeerlist.cgi
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/config/easymodes/etc/localization/de/PNAME.txt
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`-de.patch
file=./patchsource/www/config/easymodes/etc/localization/en/PNAME.txt
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`-en.patch
file=./patchsource/www/config/ic_deviceparameters.cgi
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/rega/esp/datapointconfigurator.fn
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/rega/esp/channels.fn
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/webui/js/extern/sliderControl.js
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/ise/htm/header.htm
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/api/methods.conf
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/config/stringtable_de.txt
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/webui/js/lang/de/translate.lang.js
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/webui/js/lang/de/translate.lang.extension.js
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/webui/js/lang/de/translate.lang.stringtable.js
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/webui/js/lang/en/translate.lang.stringtable.js
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} >> ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/rega/pages/tabs/admin/views/programs.htm
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/rega/esp/side.inc
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/common/`basename ${file}`.patch
file=./patchsource/www/rega/esp/controls/rhs.fn
diff -u --label=${file}.orig --label=${file} ${file}.orig ${file} > ./src/addon/patch/le_363/`basename ${file}`.patch
diff -u --label=${file}.orig --label=${file} ${file}.orig-3.65 ${file}-3.65 > ./src/addon/patch/ge_365/`basename ${file}`.patch
echo "Patch created."
rm ${ADDON_NAME}-addon.tgz
cd src
chmod +x update_script
chmod +x addon/inst_*
chmod +x addon/update-check.cgi
chmod +x rc.d/*
find . -name ".DS_Store" -exec rm -rf {} \;
find . -name "._*" -exec rm -rf {} \;
dot_clean .
tar --exclude='untitled.txt' -zcf ../${ADDON_NAME}-addon.tgz *
echo "tar created."
cd ..