Home Home > GIT Browse > vanilla
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKernel Build Daemon <kbuild@suse.de>2019-01-15 12:01:38 +0100
committerKernel Build Daemon <kbuild@suse.de>2019-01-15 12:01:38 +0100
commitdf70d5b7048dd0a8597fef13ba5d54f7d992a2bd (patch)
tree94332083dfcc616881443160af90f4efd907e014
parent1cafc223dd6aaedc6a6cf39578904b471c094f8d (diff)
parentaff5480deee35a6081956e53b3315c1c996e5300 (diff)
Merge branch 'scripts' into vanilla
-rwxr-xr-xscripts/tar-up.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/tar-up.sh b/scripts/tar-up.sh
index 90c3f3ab0a..c50e4da377 100755
--- a/scripts/tar-up.sh
+++ b/scripts/tar-up.sh
@@ -195,8 +195,9 @@ CLEANFILES=()
trap 'if test -n "$CLEANFILES"; then rm -rf "${CLEANFILES[@]}"; fi' EXIT
tmpdir=$(mktemp -dt ${0##*/}.XXXXXX)
CLEANFILES=("${CLEANFILES[@]}" "$tmpdir")
+rpmfiles=$(echo rpm/* | grep -v "~$")
-cp -p rpm/* config.conf supported.conf doc/* $build_dir
+cp -p $rpmfiles config.conf supported.conf doc/* $build_dir
match="${flavor:+\\/$flavor$}"
match="${arch:+^+\\($(echo -n "${arch}" | sed 's/[, ]\+/\\\|/g')\\)\\>${match:+.*}}${match}"
[ -n "$match" ] && sed -i "/^$\|\s*#\|${match}/b; s/\(.*\)/#### \1/" $build_dir/config.conf