Fix restoration of profile script

parent b608075a
......@@ -21,9 +21,16 @@ indent() {
cd $BUILD_DIR
if [ -d ${CACHE_DIR}/.heroku/gettext ]; then
echo "GNU gettext is already installed" | indent
echo "GNU gettext is already compiled" | indent
echo "-----> Copying compiled gettext from cache"
mkdir -p ${BUILD_DIR}/.heroku/gettext
cp -R ${CACHE_DIR}/.heroku/gettext/* ${BUILD_DIR}/.heroku/gettext/
echo "-----> Installing profile script"
mkdir -p "${BUILD_DIR}/.profile.d"
cp ${ROOT_DIR}/profile/* ${BUILD_DIR}/.profile.d/
exit 0
fi
......
......@@ -8,7 +8,7 @@ test_cache_detection() {
compile
assertCapturedSuccess
assertCaptured "GNU gettext is already installed"
assertCaptured "GNU gettext is already compiled"
}
test_copy_compiled_binaries_from_cache() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment