Package: src:am-utils Version: 6.2+rc20110530-3.2 Severity: normal Tags: patch
tempfile has been deprecated for years diff --git a/debian/am-utils.init b/debian/am-utils.init index 23db5c1..ea6b294 100644 --- a/debian/am-utils.init +++ b/debian/am-utils.init @@ -122,7 +122,7 @@ raze_amd() { # This happens really easily, especially if using mount_type autofs # Get the currently mounted filesystems - filesystems=`/bin/tempfile -s .amd` + filesystems=`mktemp --suffix=.amd` if [ $? -ne 0 ]; then return 1 fi