summaryrefslogtreecommitdiff
path: root/post-build-manage-buildhistory.sh
diff options
context:
space:
mode:
Diffstat (limited to 'post-build-manage-buildhistory.sh')
-rwxr-xr-xpost-build-manage-buildhistory.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/post-build-manage-buildhistory.sh b/post-build-manage-buildhistory.sh
index 5c4086f..afefef3 100755
--- a/post-build-manage-buildhistory.sh
+++ b/post-build-manage-buildhistory.sh
@@ -35,6 +35,7 @@ OPTIONS:
EOF
}
+base_dir="/mnt/ci_build"
while getopts “hb:r:v” OPTION
do
@@ -67,7 +68,7 @@ fi
buildhistory_dir=`find build -maxdepth 2 -type d -name buildhistory`
if [ ! -d $buildhistory_dir ]; then
- buildhistory_dir=`find /mnt/ci_build/workspace/tmp -type d -name buildhistory`
+ buildhistory_dir=`find ${base_dir}/workspace/tmp -type d -name buildhistory`
fi
if [ ! -z "$buildhistory_dir" ] && [ -d $buildhistory_dir ]; then