summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-01-21 11:37:36 (EST)
committer P. J. McDermott <pjm@nac.net>2012-01-21 11:37:36 (EST)
commitb3a9022f2f37ff3dc9d68df78ab86626a89c5354 (patch)
tree28bad300d9127ffba157bc6177fb70c0ff2399de
parent5248d43ba586271151d47f152fc196cddc9bb87b (diff)
Fix name of source package staging area.
-rw-r--r--src/opkbuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opkbuild b/src/opkbuild
index b9a34df..6bb702a 100644
--- a/src/opkbuild
+++ b/src/opkbuild
@@ -35,14 +35,14 @@ if [ "$(cat format)" != '1.0' ]; then
fi
# Build *-src package.
-mkdir -p tmp/dest/usr/src/${pkgname}_${pkgver}
+mkdir -p tmp/${pkgname}/usr/src/${pkgname}_${pkgver}
cd tmp
for file in ../*; do
case ${file} in
../tmp)
;;
../*)
- cp -R ${file} dest/usr/src/${pkgname}_${pkgver}
+ cp -R ${file} ${pkgname}-src/usr/src/${pkgname}_${pkgver}
;;
esac
done