From f648042cb88930d880eacda825b6edf2158894d6 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Thu, 2 Jun 2011 10:02:37 +0200 Subject: ptxd_install_generic: fix creating device nodes 'stat' prints major/minor numbers as hex. Add '0x' so that 'mknod' interprets them correctly. Signed-off-by: Michael Olbrich --- scripts/lib/ptxd_make_xpkg_pkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index bd45b7db9..ee1229a9a 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -373,7 +373,7 @@ ptxd_install_generic() { local strip="$5" local -a stat - stat=( $(stat -c "%u %g %a %t %T" "${file}") ) && + stat=( $(stat -c "%u %g %a 0x%t 0x%T" "${file}") ) && local usr="${usr:-${stat[0]}}" && local grp="${grp:-${stat[1]}}" && local mod="${stat[2]}" && -- cgit v1.2.3