File: pkg-git

package info (click to toggle)
cmdliner 0.9.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 504 kB
  • ctags: 312
  • sloc: ml: 1,373; sh: 145; makefile: 28
file content (16 lines) | stat: -rwxr-xr-x 249 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

## Usage: pkg-git
## Prepare package for an opam git/pinned package.

set -e
LOC=`dirname $0`

if [ -d ".git" ]; then
    . $LOC/config
    . $LOC/pkg-varsubsts

    if [ -f $LOC/hook-pkg-git ]; then
        . $LOC/hook-pkg-git
    fi
fi