mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-06-18 21:48:26 +00:00
must be run below debian/
This commit is contained in:
parent
6d62e0a519
commit
c4949e8123
5
debian/qualify-clang.sh
vendored
5
debian/qualify-clang.sh
vendored
@ -1,7 +1,10 @@
|
||||
#!/bin/bash
|
||||
# Stop at the first error
|
||||
set -e
|
||||
|
||||
if ! test -d debian/; then
|
||||
echo "$0: Could not find the debian/ directory"
|
||||
exit 1
|
||||
fi
|
||||
VERSION=$(dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9]+).*,\1,p")
|
||||
DETAILED_VERSION=$(dpkg-parsechangelog | sed -rne "s,^Version: 1:([0-9.]+)(~|-)(.*),\1\2\3,p")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user