Skip to content

Commit bbd7a98

Browse files
committed
Fix ppabuild using obsolete git-subcommand invocation method
1 parent 5391a31 commit bbd7a98

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

debian/ppabuild

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -u
66

77
default_git_base="git://github.com/ccdevnet/openc2e.git"
88
default_ppasuffix=ppa0
9-
set -A suites intrepid jaunty karmic
9+
set -A suites jaunty karmic
1010

1111
### You shouldn't need to modify anything below here
1212

@@ -38,12 +38,12 @@ git remote add src $git_base
3838
git fetch src
3939
git checkout -q refs/remotes/src/master
4040

41-
describe_ver="$(git-describe --tags)-$ppasuffix"
42-
raw_ver="$(git-log -1 --pretty=format:\%H)"
41+
describe_ver="$(git describe --tags)-$ppasuffix"
42+
raw_ver="$(git log -1 --pretty=format:\%H)"
4343
echo "=== Checked out version $describe_ver ==="
4444

4545
echo "=== Building orig.tar.gz ==="
46-
git-archive --format=tar --prefix="openc2e-$describe_ver/" HEAD | gzip -9c > "$tempdir/openc2e_$describe_ver.orig.tar.gz"
46+
git archive --format=tar --prefix="openc2e-$describe_ver/" HEAD | gzip -9c > "$tempdir/openc2e_$describe_ver.orig.tar.gz"
4747
popd
4848

4949
echo "=== Building package ==="

0 commit comments

Comments
 (0)