diff options
Diffstat (limited to 'src/opkbuild')
-rw-r--r-- | src/opkbuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/opkbuild b/src/opkbuild index 2c7e974..ec15c85 100644 --- a/src/opkbuild +++ b/src/opkbuild @@ -49,19 +49,19 @@ version=$(oh_get_field Version) # Build *-src package. printf 'opkbuild: Installing files for package "%s"...\n' "${srcpkg}-src" -mkdir -p ${srcpkg}-src/usr/src/${srcpkg}_${version} +mkdir -p ${srcpkg}-src.data/usr/src/${srcpkg}_${version} for file in ../*; do case ${file} in ../tmp) ;; ../*) - cp -R ${file} ${srcpkg}-src/usr/src/${srcpkg}_${version} + cp -R ${file} ${srcpkg}-src.data/usr/src/${srcpkg}_${version} ;; esac done oh-gencontrol -s oh-buildopk ${srcpkg}-src -rm -Rf dest +rm -Rf ${srcpkg}-src.data printf 'opkbuild: Package "%s" complete!\n\n' "${srcpkg}-src" # Build other binary packages. |