summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ob-buildopk.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ob-buildopk.sh b/src/ob-buildopk.sh
index a655ff9..9c318a3 100644
--- a/src/ob-buildopk.sh
+++ b/src/ob-buildopk.sh
@@ -31,7 +31,7 @@ build_opk()
ob_info "$(ob_get_msg 'build_opk')" \
"${binary}_${version}_${arch}_${plat}.opk"
- find "${binary}.control" "${binary}.data" | xargs touch -d "${date}"
+ find "${binary}.control" "${binary}.data" | xargs ${TOUCH} -d "${date}"
# This utility runs with (fake) privileges, so we can chown what we're
# about to tar.
find "${binary}.control" "${binary}.data" | xargs chown 0:0
@@ -39,7 +39,7 @@ build_opk()
tar -czf '../control.tar.gz' -T -)
(cd -- "${binary}.data" && find '.' \! -type d | LC_ALL=C sort | \
tar -czf '../data.tar.gz' -T -)
- touch -d "${date}" 'control.tar.gz' 'data.tar.gz'
+ ${TOUCH} -d "${date}" 'control.tar.gz' 'data.tar.gz'
tar -czf "../../${binary}_${version}_${arch}_${plat}.opk" \
'debian-binary' 'control.tar.gz' 'data.tar.gz'
@@ -65,7 +65,7 @@ main()
date="$(ob_iso8601_gmtime "${SOURCE_DATE_EPOCH}")"
printf '2.0\n' >'debian-binary'
- touch -d "${date}" 'debian-binary'
+ ${TOUCH} -d "${date}" 'debian-binary'
if [ x"${OB_DO_SOURCE:+set}" = x'set' ]; then
build_opk "src-${OPK_SOURCE}" "${OPK_SOURCE_VERSION}" \
'src' 'all' "${date}"