-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdelcredentials.sh
executable file
·19 lines (19 loc) · 1.31 KB
/
delcredentials.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
srctopatch="/media/sdb1/mozilla/firefox"
w3credentials="/media/sdb1/mozilla/W3Credentials"
echo $srctopatch
echo $w3credentials
rm -rf "$srctopatch/dom/credentials/"
rm -f "$srctopatch/dom/webidl/CredentialContainer.webidl"
rm -rf "$srctopatch/dom/interfaces/credentials/"
/usr/local/bin/patch -R "$srctopatch/dom/moz.build" "$w3credentials/moz.build.patch"
/usr/local/bin/patch -R "$srctopatch/dom/bindings/Bindings.conf" "$w3credentials/Bindings.conf.patch"
/usr/local/bin/patch -R "$srctopatch/dom/webidl/moz.build" "$w3credentials/webidl-moz.build.patch"
#patch -R ../firefox/dom/webidl/Navigator.webidl Navigator.webidl.patch"
/usr/local/bin/patch -R "$srctopatch/dom/base/Navigator.h" "$w3credentials/Navigator.h.patch"
/usr/local/bin/patch -R "$srctopatch/dom/base/Navigator.cpp" "$w3credentials/Navigator.cpp.patch"
/usr/local/bin/patch -R "$srctopatch/dom/ipc/ContentChild.cpp" "$w3credentials/ContentChild.cpp-patch"
/usr/local/bin/patch -R "$srctopatch/dom/ipc/ContentChild.h" "$w3credentials/ContentChild.h-patch"
/usr/local/bin/patch -R "$srctopatch/dom/ipc/ContentParent.cpp" "$w3credentials/ContentParent.cpp-patch"
/usr/local/bin/patch -R "$srctopatch/dom/ipc/ContentParent.h" "$w3credentials/ContentParent.h-patch"
/usr/local/bin/patch -R "$srctopatch/dom/ipc/PContent.ipdl" "$w3credentials/PContent.ipdl-patch"