summaryrefslogtreecommitdiffstats
path: root/src/opkbuild
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild')
-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