summaryrefslogtreecommitdiffstats
path: root/src/oh-buildopk
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-21 13:49:22 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-21 13:49:22 (EST)
commit3322feeae7d9bd6fc5b79f0d8a5ebb96e339009e (patch)
tree6e401ca2141b2f7c0d34ce6aaa25cd69fe559de3 /src/oh-buildopk
parent464f39e672d466abc2d4bca1396468d8b76a462b (diff)
Rename data directories in work area.
Also, fix an 'rm' command in opkbuild.
Diffstat (limited to 'src/oh-buildopk')
-rw-r--r--src/oh-buildopk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oh-buildopk b/src/oh-buildopk
index 4ca91c5..6e969ba 100644
--- a/src/oh-buildopk
+++ b/src/oh-buildopk
@@ -38,7 +38,7 @@ while [ ${#} -gt 0 ]; do
# Write debian-binary.
echo '2.0' > debian-binary
# Pack data.tar.gz.
- cd ${1}
+ cd ${1}.data
tar -czf ../data.tar.gz .
cd ..
# Pack control.tar.gz.