mirror of
https://github.com/utoni/nDPId.git
synced 2026-05-17 03:56:43 +00:00
Some checks failed
ArchLinux PKGBUILD / build (push) Waiting to run
CentOs / centos8 (push) Waiting to run
FreeBSD Build / Build and Test (push) Waiting to run
RPM Build / build (push) Waiting to run
Build / macOS-14 cc (push) Waiting to run
Build / ubuntu-latest clang (push) Waiting to run
Build / ubuntu-latest clang-1 (push) Waiting to run
Build / ubuntu-22.04 clang-12 (push) Waiting to run
Build / ubuntu-latest gcc (push) Waiting to run
Build / ubuntu-latest gcc-1 (push) Waiting to run
Build / ubuntu-latest gcc-2 (push) Waiting to run
Build / ubuntu-22.04 gcc-10 (push) Waiting to run
Build / ubuntu-22.04 gcc-9 (push) Waiting to run
SonarQube Scan / Build and analyze (push) Waiting to run
OpenWrt Build / arm_cortex-a15_neon-vfpv4 armvirt-32 (push) Has been cancelled
OpenWrt Build / arm_cortex-a9_vfpv3-d16 mvebu-cortexa9 (push) Has been cancelled
OpenWrt Build / x86_64 x86-64 (push) Has been cancelled
- updated deprecated Github Actions checkout/upload-artifact Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
14 lines
392 B
Bash
Executable file
14 lines
392 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
UMASK=$(umask)
|
|
|
|
if [[ "${UMASK}" != "0002" && "${UMASK}" != "0022" ]]; then
|
|
cat <<EOF
|
|
********************************************
|
|
* WARNING: 'cpack -G DEB' / 'cpack -G RPM' *
|
|
* might not work correctly due to umask, *
|
|
* which is set to ${UMASK} *
|
|
* but expected is either 0002 or 0022 *
|
|
********************************************
|
|
EOF
|
|
fi
|