New commits:
commit 2062bee451541700a391b2e5de132b54d0929cf8
Author: Andrew Stitt <astitt AT sourcemage.org>
Commit: Andrew Stitt <astitt AT sourcemage.org>
fix api2 to properly change directories when there is no stage-root
diff --git a/var/lib/sorcery/modules/build_api/api2
b/var/lib/sorcery/modules/build_api/api2
index abf8855..3bf696e 100755
--- a/var/lib/sorcery/modules/build_api/api2
+++ b/var/lib/sorcery/modules/build_api/api2
@@ -255,7 +255,7 @@ function run_post_install() {
then
cd $STAGE_DIRECTORY/TRANSL
else
- cd $INSTALL_ROOT
+ cd "${INSTALL_ROOT:-/}"
fi &&
if [ -x $SCRIPT_DIRECTORY/POST_INSTALL ]; then
. $SCRIPT_DIRECTORY/POST_INSTALL
@@ -289,7 +289,7 @@ function run_final() {
debug "build_api/api2" "Starting run_final()"
persistent_load &&
- cd $INSTALL_ROOT
+ cd "${INSTALL_ROOT:-/}"
if [ -x $SCRIPT_DIRECTORY/FINAL ]
then
. $SCRIPT_DIRECTORY/FINAL
[SM-Commit] GIT changes to devel-stage-root sorcery by Andrew Stitt (2062bee451541700a391b2e5de132b54d0929cf8),
Andrew Stitt, 06/13/2006