Commit f4d893ac authored by Ophélie Gagnard's avatar Ophélie Gagnard

build-scripts/clean_obs.sh: Fix a bug.

parent 2ce382dc
......@@ -5,7 +5,9 @@ source build-scripts/configuration_information.sh
# reverse the action of obsoleting the potentially altered buildout and restoring the backed up one
if [ ! -e $RUN_BUILDOUT_DIR/bin/backup.buildout ]; then
if [ -e $RUN_BUILDOUT_DIR/bin/buildout ]; then
cp $RUN_BUILDOUT_DIR/bin/buildout $RUN_BUILDOUT_DIR/bin/backup.buildout
fi
fi
if [ -e $RUN_BUILDOUT_DIR/bin/old.buildout ]; then
mv $RUN_BUILDOUT_DIR/bin/old.buildout $RUN_BUILDOUT_DIR/bin/buildout
......
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