summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-08-29 00:21:35 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-08-29 00:21:35 (EDT)
commit864dd3b2cb85188b59f820a0d9e1cf14693dee03 (patch)
tree709014f04b65cff6f3cc3309c28a83cdc6a7dd38
parent785d69db0c266966f115d5436b6a4fb4bbcde597 (diff)
build: Move output files to parent of pkg dir
Instead of the parent of the current directory.
-rw-r--r--lib/cmd/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cmd/build.sh b/lib/cmd/build.sh
index 61f6612..77efce0 100644
--- a/lib/cmd/build.sh
+++ b/lib/cmd/build.sh
@@ -82,7 +82,7 @@ cmd_build_main()
rmdir "${root}${dir}/pkg"
for f in "${root}${dir}/"*; do
[ -e "${f}" ] || continue
- mv "${f}" ..
+ mv "${f}" "${prev_arg}/.."
done
rmdir "${root}${dir}"
}