summaryrefslogtreecommitdiffstats
path: root/tests/aux
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-07-23 15:45:23 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-07-23 16:18:37 (EDT)
commitb69329b84adf53fc735924060abf4648793c588d (patch)
tree6142e6928608a449b5e4a9a03c8945c9db07dc1c /tests/aux
parent0a57f361bf7188caca0639beb296b272082f1bff (diff)
tests/aux/opk.sh: Generate *.changes and *.opk in incoming/
Diffstat (limited to 'tests/aux')
-rw-r--r--tests/aux/opk.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/aux/opk.sh b/tests/aux/opk.sh
index a74ecfd..ec4c3cf 100644
--- a/tests/aux/opk.sh
+++ b/tests/aux/opk.sh
@@ -28,6 +28,9 @@ make_opks_and_changes()
local changes=
local file=
+ mkdir -p incoming/
+ cd incoming/
+
# Make packages.
for bin in ${bins}; do
mkdir -p "${bin}_${ver}_${arch}_${plat}/control/"
@@ -83,5 +86,7 @@ make_opks_and_changes()
"${sect}" "${file}" >>"${changes}"
done
- printf '%s' "${changes}"
+ cd ../
+
+ printf '%s' "incoming/${changes}"
}