Home Home > GIT Browse > linux-next
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKernel Build Daemon <kbuild@suse.de>2019-07-17 12:03:17 +0200
committerKernel Build Daemon <kbuild@suse.de>2019-07-17 12:03:17 +0200
commitb61e8c459a18b84ab54c74e1c910ed6ee786d77a (patch)
tree26f5134ebf2931d4f41c9bf9a6e795193d37a386
parent3c5f4715370b831632119c94b4c453c4b3181026 (diff)
parentb98fb06811e9a46c4e485ae481217e77e26d3524 (diff)
Merge branch 'scripts' into linux-next
-rwxr-xr-xscripts/tar-up.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/scripts/tar-up.sh b/scripts/tar-up.sh
index 9e5ece204b..aaae2d176e 100755
--- a/scripts/tar-up.sh
+++ b/scripts/tar-up.sh
@@ -225,9 +225,12 @@ elif $using_git; then
# users of the rpm packages.
# FIXME: the remote might have a different name than "origin" or there
# might be no remote at all.
- if git cat-file -e origin/scripts 2>/dev/null; then
- exclude[${#exclude[@]}]=^origin/scripts
- fi
+ for remote in $(git remote)
+ do
+ if git cat-file -e ${remote}/scripts 2>/dev/null; then
+ exclude[${#exclude[@]}]=^${remote}/scripts
+ fi
+ done
if git cat-file -e scripts 2>/dev/null; then
exclude[${#exclude[@]}]=^scripts
fi