Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

Commit 93d1693

Browse files
John KordichJohn Kordich
John Kordich
authored and
John Kordich
committed
Updates to the build source kit script
1 parent 72ebdf4 commit 93d1693

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

build_source_kit.sh

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ if [ -h ./omi-1.0.8 ]; then
4141
fi
4242

4343
# Remove unwanted base directories
44-
rm -rf ./bootstrap ./build ./build_source_kit.sh ./doc ./ext ./installbuilder ./Test ./Doc
44+
rm -rf ./bootstrap ./build ./build_source_kit.sh ./doc ./ext ./installbuilder ./Test ./Docs
4545

4646
# Remove blue win7 win8
4747
rm -rf ./LCM/codec/mof/blue ./LCM/codec/mof/win7 ./LCM/codec/mof/win8
@@ -52,6 +52,28 @@ rm -rf ./LCM/dsc/tests
5252
# Remove cs files
5353
rm -rf ./LCM/dsc/engine/ca/psinfrastructure/PsPluginManager.cs
5454

55+
# Remove module providers
56+
rm -rf ./Providers/nxMySqlDatabase ./Providers/nxMySqlGrant ./Providers/nxMySqlUser
57+
58+
rm -rf \
59+
./Providers/Scripts/2.4x-2.5x/Scripts/nxMySqlDatabase.py \
60+
./Providers/Scripts/2.4x-2.5x/Scripts/nxMySqlGrant.py \
61+
./Providers/Scripts/2.4x-2.5x/Scripts/nxMySqlUser.py \
62+
./Providers/Scripts/2.6x-2.7x/Scripts/nxMySqlDatabase.py \
63+
./Providers/Scripts/2.6x-2.7x/Scripts/nxMySqlGrant.py \
64+
./Providers/Scripts/2.6x-2.7x/Scripts/nxMySqlUser.py \
65+
./Providers/Scripts/3.x/Scripts/nxMySqlDatabase.py \
66+
./Providers/Scripts/3.x/Scripts/nxMySqlGrant.py \
67+
./Providers/Scripts/3.x/Scripts/nxMySqlUser.py
68+
69+
# sed out Makefile stuff for Providers removed
70+
cat ./Providers/Makefile \
71+
| sed "s@PROVIDERS+=nxMySqlDatabase@#PROVIDERS+=nxMySqlDatabase@" \
72+
| sed "s@PROVIDERS+=nxMySqlGrant@#PROVIDERS+=nxMySqlGrant@" \
73+
| sed "s@PROVIDERS+=nxMySqlUser@#PROVIDERS+=nxMySqlUser@" \
74+
> ./tmp_makefile
75+
mv -f ./tmp_makefile ./Providers/Makefile
76+
5577
# Remove tests associated with above providers
5678
rm -rf ./Providers/Scripts/2.4x-2.5x/Scripts/Tests ./Providers/Scripts/2.6x-2.7x/Scripts/Tests ./Providers/Scripts/3.x/Scripts/Tests
5779

0 commit comments

Comments
 (0)