summaryrefslogtreecommitdiff
path: root/script/update
diff options
context:
space:
mode:
Diffstat (limited to 'script/update')
-rwxr-xr-xscript/update/project/trees6
1 files changed, 2 insertions, 4 deletions
diff --git a/script/update/project/trees b/script/update/project/trees
index d5d631b6..221c288f 100755
--- a/script/update/project/trees
+++ b/script/update/project/trees
@@ -15,15 +15,13 @@ eval "$(setvars "" _target tree rev project cfgsdir)"
main()
{
- x_ rm -f "${cfgsdir}"/*/seen
-
- printf "Downloading %s and (if available) applying patches\n" \
- ${project}
+ printf "Downloading %s and applying patches\n" ${project}
[ -z "${1}" ] && err "project name not specified"
project="${1}"
cfgsdir="config/${project}"
[ -d "${cfgsdir}" ] || err "unsupported project name"
+ x_ rm -f "${cfgsdir}/"*/seen
shift 1
targets=$(listitems "${cfgsdir}")