File: gitpkg-hook.sh

package info (click to toggle)
yubikey-server-c 0.5-1.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 424 kB
  • sloc: sh: 1,113; ansic: 700; sql: 21; makefile: 7
file content (9 lines) | stat: -rw-r--r-- 469 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
#! /bin/sh
# This file is used by gitpkg to extract a byte identical .orig.tar.gz
# file using pristine-tar.  To use it you need pristine-tar, and to
# configure HOOK_FILE=debian/gitpkg-hook.sh in one of the places that
# gitpkg looks (currently _not_ the environment).
set -x
ORIGTGZ="${DEB_DIR}/${DEB_SOURCE}/${DEB_SOURCE}_${DEB_VERSION%-*}.orig.tar.gz"
echo "(cd $REPO_ROOT &&  pristine-tar checkout ${ORIGTGZ})"
(cd $REPO_ROOT &&  pristine-tar checkout ${ORIGTGZ})