139 |
;; |
;; |
140 |
|
|
141 |
"block special file") |
"block special file") |
142 |
echo "${I#${SEARCHDIRS}*}§${FILEPOSIX}§${FILEOWNER}§${FILEGROUP}" >> ${BUILDDIR}/${PKGNAME}/.pipes |
# convert hex2dec |
143 |
|
# printf '%d' 0x12 -> 18 |
144 |
|
local CHAR_MAJOR="$(printf 0x$(stat -c %t $I))" |
145 |
|
local CHAR_MINOR="$(printf 0x$(stat -c %T $I))" |
146 |
|
echo "${I#${SEARCHDIRS}*}§${FILEPOSIX}§${FILEPOSIX}§${CHAR_MAJOR}§${FILEOWNER}§${FILEGROUP}" >> ${BUILDDIR}/${PKGNAME}/.pipes |
147 |
;; |
;; |
148 |
|
|
149 |
"character special file") |
"character special file") |