Home Home > GIT Browse > vanilla
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKernel Build Daemon <kbuild@suse.de>2019-07-17 12:01:47 +0200
committerKernel Build Daemon <kbuild@suse.de>2019-07-17 12:01:47 +0200
commit133913c81b896769e49ee6884c89a28b74458d27 (patch)
treefeb818adc3f06bceef0c912a38a2653322d95777
parentb3de4af2483e606cd7f982559be39a34f1cfd339 (diff)
parentb98fb06811e9a46c4e485ae481217e77e26d3524 (diff)
Merge branch 'scripts' into vanilla
-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