pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/pkgtools/pbulk/files/pbulk/scripts
Module Name: pkgsrc
Committed By: jperkin
Date: Wed Jul 17 14:32:53 UTC 2024
Modified Files:
pkgsrc/pkgtools/pbulk/files/pbulk/scripts: pre-build
Log Message:
pbulk: Include PRETTY_NAME on supported Linux.
Suggested to sjmulder. Ride previous bump.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 \
pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build
diff -u pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build:1.17 pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build:1.18
--- pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build:1.17 Wed Jul 17 11:51:58 2024
+++ pkgsrc/pkgtools/pbulk/files/pbulk/scripts/pre-build Wed Jul 17 14:32:53 2024
@@ -1,5 +1,5 @@
#!@SH@
-# $NetBSD: pre-build,v 1.17 2024/07/17 11:51:58 jperkin Exp $
+# $NetBSD: pre-build,v 1.18 2024/07/17 14:32:53 jperkin Exp $
#
# Copyright (c) 2007 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
# All rights reserved.
@@ -134,6 +134,10 @@ echo "OS_VARIANT=${os_variant}" >> ${loc
echo "LOWER_VARIANT_VERSION=${lower_variant_version}" >> ${loc}/status
echo "COMPILER=${pkgsrc_compiler}" >> ${loc}/status
+if [ -f /etc/os-release ]; then
+ awk '/^PRETTY_NAME/ {gsub(/\"/, "");print;}' /etc/os-release >> ${loc}/status
+fi
+
date '+BUILD_START_ISO=%Y-%m-%d %H:%M
BUILD_START_DIR=%Y%m%d.%H%M
BUILD_START_EPOCHE=%s' >> ${loc}/status
Home |
Main Index |
Thread Index |
Old Index