diff options
author | Guido van Rossum <guido@python.org> | 2013-11-23 15:34:57 -0800 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2013-11-23 15:34:57 -0800 |
commit | 4afd3f622726665f439d49dcf3718386ab8ac17f (patch) | |
tree | c1e3aaff985940c0bc613d76bcd97e34a5481435 /update_stdlib.sh | |
parent | 11738a1540b7be078ee0458f86635522b65caff0 (diff) | |
download | trollius-4afd3f622726665f439d49dcf3718386ab8ac17f.tar.gz |
Add 'back' option to update script.
Diffstat (limited to 'update_stdlib.sh')
-rwxr-xr-x | update_stdlib.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/update_stdlib.sh b/update_stdlib.sh index 828de2c..b025adf 100755 --- a/update_stdlib.sh +++ b/update_stdlib.sh @@ -29,10 +29,11 @@ maybe_copy() fi echo ======== $SRC === $DST ======== diff -u $DST $SRC - echo -n "Copy $SRC? [y/N] " + echo -n "Copy $SRC? [y/N/back] " read X case $X in [yY]*) echo Copying $SRC; cp $SRC $DST;; + back) echo Copying TO $SRC; cp $DST $SRC;; *) echo Not copying $SRC;; esac } |