]> git.proxmox.com Git - systemd.git/commitdiff
debian/extra/checkout-upstream: Support submodules
authorMartin Pitt <martin@piware.de>
Fri, 12 Apr 2019 06:24:53 +0000 (08:24 +0200)
committerMartin Pitt <martin@piware.de>
Fri, 12 Apr 2019 06:24:53 +0000 (08:24 +0200)
See https://github.com/systemd/systemd/pull/12151

debian/extra/checkout-upstream

index 561082ea5db51cbfbb4495a482812538cd9f9f2d..90f507de8dd62f133c5b549869170f9e509fdf1b 100755 (executable)
@@ -34,7 +34,8 @@ mkdir -p debian/tmp
  $CO
  git config user.email "invalid@example.com"
  git config user.name "Merge dummy user"
- git rebase master)
+ git rebase master
+ git submodule update --init --recursive)
 UPSTREAM_VER=$(cd debian/tmp/upstream; git describe | sed 's/^v//')
 
 # clean out original upstream sources and patches