summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control')
-rwxr-xr-xt/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control
new file mode 100755
index 0000000..6372736
--- /dev/null
+++ b/t/recipes/checks/files/date/deb-format-ancient-file/build-spec/pre-control
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+debiandir="$1"
+name="$2"
+
+TZ=GMT touch -d@-1 "$debiandir/control"