summaryrefslogtreecommitdiffstats
path: root/src/opkbuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/opkbuild.sh')
-rw-r--r--src/opkbuild.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/opkbuild.sh b/src/opkbuild.sh
index 8856eaf..0f397a4 100644
--- a/src/opkbuild.sh
+++ b/src/opkbuild.sh
@@ -151,6 +151,12 @@ elif [ $(echo "${arch}" | wc -l) -gt 1 ]; then
exit 1
fi
+# Resolve status override file path.
+pkg_dir="${PWD}"
+cd "$(dirname "${status_override}")"
+status_override="${PWD}/$(basename "${status_override}")"
+cd "${pkg_dir}"
+
# Make work area.
printf 'opkbuild: Making work area...\n'
mkdir tmp