Skip to content

Commit 02de886

Browse files
committed
manual-generate: removed extra data and appliy patches.
1 parent 966f51c commit 02de886

1 file changed

Lines changed: 1 addition & 28 deletions

File tree

scripts/manual-generate.sh

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# Copyright (C) 2006-2021
44
#
5-
# Updated: 03/11/2022
5+
# Updated: 08/17/2022
66
#
77
# This program is free software; you can redistribute it and/or modify
88
# it under the terms of the GNU General Public License as published by
@@ -39,7 +39,6 @@ echo " "
3939
echo "scripts (Directory)"
4040
echo " functions.sh"
4141
echo " fetch_packages.sh"
42-
echo " data (Directory"
4342
echo "configs (Directory)"
4443
echo " feeds.conf.default <-- Can use the default version if you want"
4544
echo " wrtmulti.config <-- This is needed regardless unless you change the name"
@@ -57,11 +56,6 @@ if [ ! -f "$FILE" ]; then
5756
echo "$FILE does not exist."
5857
exit
5958
fi
60-
FILE=data
61-
if [ ! -d "$FILE" ]; then
62-
echo "$FILE does not exist."
63-
exit
64-
fi
6559
FILE=feeds.conf.default
6660
if [ ! -f "$FILE" ]; then
6761
echo "$FILE does not exist."
@@ -113,27 +107,6 @@ CCACHE_SETUP
113107
#DEFAULT_THEME_CHANGE
114108
REMOVE_LANGUAGES
115109

116-
117-
APPLY_PR_PATCHES_MANUAL() {
118-
echo "This is WORKING Here:"
119-
file=data/PR_patches.txt
120-
while read -r line; do
121-
if [ "$line" = "" ]; then continue
122-
fi
123-
cd "$GITHUB_WORKSPACE"/openwrt && wget https://patch-diff.githubusercontent.com/raw/openwrt/openwrt/pull/"$line".patch
124-
echo "Applying $line.patch"
125-
git am "$line".patch || error_return "Patch Failed, Aborting Patch"
126-
done < "$file"
127-
}
128-
129-
file=data/PR_patches.txt
130-
line=$(head -n 1 filename)
131-
if [ "$line" != "" ]; then
132-
APPLY_PR_PATCHES_MANUAL
133-
fi
134-
135-
136-
137110
echo "Make Menuconfig"
138111
make menuconfig
139112

0 commit comments

Comments
 (0)