aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Leise <marco.leise@gmx.de>2018-10-15 20:37:02 +0200
committerMarco Leise <marco.leise@gmx.de>2018-10-15 20:37:02 +0200
commit21c09c2db352c9a8f6b3abd7f2389530b77c0e55 (patch)
treedf9b4993edba2f65334ddfb7708b6e454d8c5f82 /dev-util/dscanner
parentsimplified version variables in onedrive ebuild (diff)
downloaddlang-21c09c2db352c9a8f6b3abd7f2389530b77c0e55.tar.gz
dlang-21c09c2db352c9a8f6b3abd7f2389530b77c0e55.tar.bz2
dlang-21c09c2db352c9a8f6b3abd7f2389530b77c0e55.zip
fixed --version output for dscanner and dcd to make the IntelliJ D Language plugin work.
Diffstat (limited to 'dev-util/dscanner')
-rw-r--r--dev-util/dscanner/dscanner-0.5.11-r1.ebuild (renamed from dev-util/dscanner/dscanner-0.5.11.ebuild)3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-util/dscanner/dscanner-0.5.11.ebuild b/dev-util/dscanner/dscanner-0.5.11-r1.ebuild
index 76a64c2..459a154 100644
--- a/dev-util/dscanner/dscanner-0.5.11.ebuild
+++ b/dev-util/dscanner/dscanner-0.5.11-r1.ebuild
@@ -37,7 +37,8 @@ inherit dlang
src_prepare() {
mkdir bin || die "Failed to create 'bin' directory."
# Stop makefile from executing git to write an unused githash.txt
- touch githash githash.txt || die "Could not generate githash"
+ echo "v${PV}" > githash.txt || die "Could not generate githash"
+ touch githash || die "Could not generate githash"
# Apply patches
dlang_src_prepare
}