From 4082229065787e8a803748c886c8db35479ef2b3 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sat, 21 Jan 2012 12:26:23 -0500 Subject: Do EVERYTHING in tmp. --- diff --git a/src/opkbuild b/src/opkbuild index f863ee9..1f0317b 100644 --- a/src/opkbuild +++ b/src/opkbuild @@ -36,11 +36,13 @@ if [ "$(cat format)" != '1.0' ]; then exit 1 fi +mkdir tmp +cd tmp + # Build *-src package. srcpkg=$(oh_get_field Source) version=$(oh_get_field Version) -mkdir -p tmp/${srcpkg}-src/usr/src/${srcpkg}_${version} -cd tmp +mkdir -p ${srcpkg}-src/usr/src/${srcpkg}_${version} for file in ../*; do case ${file} in ../tmp) -- cgit v0.9.1