diff options
-rw-r--r-- | debian/git-debpush.install | 1 | ||||
-rwxr-xr-x | debian/rules | 3 | ||||
-rwxr-xr-x | git-debpush | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/debian/git-debpush.install b/debian/git-debpush.install new file mode 100644 index 0000000..563b42f --- /dev/null +++ b/debian/git-debpush.install @@ -0,0 +1 @@ +git-playtree-create /usr/share/git-debpush diff --git a/debian/rules b/debian/rules index 4e44118..6ce2c3b 100755 --- a/debian/rules +++ b/debian/rules @@ -65,6 +65,9 @@ specpkg_install_gdp: tok=gdp specpkg_install_gdp: specperl=/usr/share/dgit/gdp/perl5 specpkg_install_gdp: $(specpkg_install_common) + set -x; perl -i -pe 'next unless m/###substituted###/;' \ + -e 's{^(git_playtree_setup)=.*}{$$1=/usr/share/$p/git-playtree-setup};' \ + debian/$(p)/usr/bin/* specpkg_install_%: tok=$* specpkg_install_%: specperl=/usr/share/dgit/$(tok)/perl5 diff --git a/git-debpush b/git-debpush index 1bfb093..ca737d2 100755 --- a/git-debpush +++ b/git-debpush @@ -38,6 +38,7 @@ set -o pipefail # **** Helper functions and variables **** us="$(basename $0)" +git_playtree_create=git-playtree-create ###substituted### cleanup() { if [ -d "$temp" ]; then |