File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 478478
479479# 7.8b Migrate owlbot.py
480480echo " Migrating owlbot.py..."
481- if [ -f " $SOURCE_DIR /owlbot.py" ]; then
481+ if [ -f " $SOURCE_DIR /$SOURCE_REPO_NAME / owlbot.py" ]; then
482482 TARGET_OWLBOT=" $SOURCE_REPO_NAME /owlbot.py"
483483
484- python3 " $TRANSFORM_OWLBOT_SCRIPT " " $TARGET_OWLBOT " " $SOURCE_DIR /owlbot.py"
484+ python3 " $TRANSFORM_OWLBOT_SCRIPT " " $TARGET_OWLBOT " " $SOURCE_DIR /$SOURCE_REPO_NAME / owlbot.py"
485485
486486 echo " Committing owlbot.py migration..."
487487 git add " $TARGET_OWLBOT "
@@ -565,7 +565,7 @@ if [[ "${SKIP_TESTS:-false}" != "true" ]]; then
565565fi
566566
567567# 7.12 Apply manual changes
568- MANUAL_CHANGES_DIFF=$( realpath " ~ /${SOURCE_REPO_NAME} .diff" )
568+ MANUAL_CHANGES_DIFF=$( realpath " ${HOME} /${SOURCE_REPO_NAME} .diff" )
569569if [[ -f " ${MANUAL_CHANGES_DIFF} " ]]; then
570570 echo " Applying diff from ${MANUAL_CHANGES_DIFF} ..."
571571 git apply " ${MANUAL_CHANGES_DIFF} "
You can’t perform that action at this time.
0 commit comments