mirror of
git://slackware.nl/current.git
synced 2024-12-29 10:25:00 +01:00
eefcea89bf
a/mkinitrd-1.4.11-x86_64-25.txz: Rebuilt. Abort if a temporary directory cannot be created, otherwise the contents of the current directory could be destroyed. Thanks to Andypoo. d/Cython-0.29.24-x86_64-1.txz: Upgraded. l/libedit-20210714_3.1-x86_64-1.txz: Upgraded. x/libwacom-1.11-x86_64-1.txz: Upgraded.
16 lines
509 B
Diff
16 lines
509 B
Diff
--- ./mkinitrd.orig 2021-04-27 13:53:00.500036921 -0500
|
|
+++ ./mkinitrd 2021-07-16 13:04:05.246136283 -0500
|
|
@@ -237,6 +237,13 @@
|
|
# Then copy all remaining libs our initrd files link against:
|
|
COUNT=1
|
|
PRFX=$(mktemp --suffix -ldd)
|
|
+
|
|
+ # Make sure a temporary directory was actually created:
|
|
+ if [ -z "${PRFX}" ]; then
|
|
+ echo "ERROR: Could not create a temp directory"
|
|
+ exit 1
|
|
+ fi
|
|
+
|
|
TMPFILE=${PRFX}${COUNT}
|
|
|
|
find $SOURCE_TREE -type f -exec ldd {} 2>/dev/null \; | unify_libs > $TMPFILE
|