8000 Add 'back' option to update script. · Python-Repository-Hub/asyncio@440f941 · GitHub
[go: up one dir, main page]

Skip to content

Commit 440f941

Browse files
committed
Add 'back' option to update script.
1 parent 94197b0 commit 440f941

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

update_stdlib.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ maybe_copy()
2929
fi
3030
echo ======== $SRC === $DST ========
3131
diff -u $DST $SRC
32-
echo -n "Copy $SRC? [y/N] "
32+
echo -n "Copy $SRC? [y/N/back] "
3333
read X
3434
case $X in
3535
[yY]*) echo Copying $SRC; cp $SRC $DST;;
36+
back) echo Copying TO $SRC; cp $DST $SRC;;
3637
*) echo Not copying $SRC;;
3738
esac
3839
}

0 commit comments

Comments
 (0)
0