316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
|
cp -rp * "${appdir}"
find "${appdir}" -print0 | xargs -0 touch -t "${pkgdate}"
find "${appdir}" -print0 | xargs -0 touch -m -t "${pkgdate}"
find "${appdir}" -print0 | xargs -0 touch -a -t "${pkgdate}"
;;
archive)
archivefile="${scriptdir}/${pkg}-${version}-$(echo "${pkgdate}" | sed 's@\.@@g')-${domain}.cpio"
cd "${destdir}/${prefix}/../../.." || exit 1
find "${prefixsuffix}" -print0 | xargs -0 touch -t "${pkgdate}"
find "${prefixsuffix}" -print0 | xargs -0 touch -m -t "${pkgdate}"
find "${prefixsuffix}" -print0 | xargs -0 touch -a -t "${pkgdate}"
find "${prefixsuffix}" | sort | cpio --owner 0:0 -H newc -o > "${archivefile}"
;;
esac
|
|
|
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
|
cp -rp * "${appdir}"
find "${appdir}" -print0 | xargs -0 touch -t "${pkgdate}"
find "${appdir}" -print0 | xargs -0 touch -m -t "${pkgdate}"
find "${appdir}" -print0 | xargs -0 touch -a -t "${pkgdate}"
;;
archive)
archivefile="${scriptdir}/${pkg}-${version}-$(echo "${pkgdate}" | sed 's@\.@@g')-${os}-${arch}-${domain}.cpio"
cd "${destdir}/${prefix}/../../.." || exit 1
find "${prefixsuffix}" -print0 | xargs -0 touch -t "${pkgdate}"
find "${prefixsuffix}" -print0 | xargs -0 touch -m -t "${pkgdate}"
find "${prefixsuffix}" -print0 | xargs -0 touch -a -t "${pkgdate}"
find "${prefixsuffix}" | sort | cpio --owner 0:0 -H newc -o > "${archivefile}"
;;
esac
|