summaryrefslogtreecommitdiff
path: root/script/update/project
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-04 02:36:41 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-04 02:47:25 +0100
commitda3c9bb3c5c3b1f2e6e67a3695ce39b17bf68d5b (patch)
treeb81cdd418a4906c846800a8c5094b312e74f57df /script/update/project
parenta05010503f9a748943033d1fc40e36625e72dcbb (diff)
merge config/ and resources/
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script/update/project')
-rwxr-xr-xscript/update/project/repo6
-rwxr-xr-xscript/update/project/trees2
2 files changed, 4 insertions, 4 deletions
diff --git a/script/update/project/repo b/script/update/project/repo
index 72328b45..ba856612 100755
--- a/script/update/project/repo
+++ b/script/update/project/repo
@@ -57,7 +57,7 @@ read_config()
depend=${2} ;;
esac
done << EOF
- $(eval "awk '${awkstr}' resources/git/revisions")
+ $(eval "awk '${awkstr}' config/git/revisions")
EOF
}
@@ -92,7 +92,7 @@ clone_project()
patch_project()
{
- patchdir="resources/${name}/patches"
+ patchdir="config/${name}/patches"
for patchfile in "${PWD}/${patchdir}"/*.patch ; do
[ -f "${patchfile}" ] || continue
@@ -119,7 +119,7 @@ usage()
Usage: ./update project repo [name]
Options:
- name: Module name as specified in resources/git/revisions
+ name: Module name as specified in config/git/revisions
EOF
}
diff --git a/script/update/project/trees b/script/update/project/trees
index c4290294..2b99160c 100755
--- a/script/update/project/trees
+++ b/script/update/project/trees
@@ -48,7 +48,7 @@ main()
[ -z "${1}" ] && err "project name not specified"
project="${1}"
- cfgsdir="resources/${project}"
+ cfgsdir="config/${project}"
[ -d "${cfgsdir}" ] || err "unsupported project name"
shift 1