Browse Source

make GIT_DEPTH configurable from the environment

tags/devuan/0.14.1+devuan6
Daniel Reurich 6 years ago
parent
commit
0a7a6167d1
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      scripts/generate-git-snapshot

+ 3
- 1
scripts/generate-git-snapshot View File

@@ -349,7 +349,9 @@ quilt_cleanup() {
git_source_options() {
#Unless otherwise specified in the debian/source/options
# restrict git source archive depth and limit to only the branch we build.
GIT_DEPTH=20
if [ -z ${GIT_DEPTH:-} ]; then
GIT_DEPTH=20
fi
local file
local value
file="debian/source/options"


Loading…
Cancel
Save