Read about our upcoming Code of Conduct on this issue

Commit 37901916 authored by alex@thinkpad's avatar alex@thinkpad
Browse files

QEMU fine-tuned messages and date format when renaming an older installation

branch : qemu
parent 3c0b7237dccf
......@@ -318,19 +318,22 @@ echo "*** Setting up QEMU in $(pwd)..."
if [ -d $QEMU_NAME ]; then
DATE=`date '+%Y-%m-%d-%H-%M-%S'`
DATE=`date '+%Y-%m-%d_%H-%M-%S'`
echo "*** Directory $(pwd)/$QEMU_NAME already exists."
echo "*** To reinstall, please rename or delete it, then run this script again."
echo "*** You can enter \"D\" (uppercase!) now to delete the directory automatically"
echo "*** or \"R\"|\"r\" to rename it to $(pwd)/$QEMU_NAME-$DATE."
echo "*** Everything else will cancel the operation."
echo "*** To reinstall, please rename or delete it first."
echo ""
echo " - R or r : rename to $(pwd)/${QEMU_NAME}_$DATE/"
echo " - uppercase D : delete $(pwd)/$QEMU_NAME/ without confirmation (!)"
echo " - any other key : cancel the operation (exit the script)"
echo " you'll have to rename/delete this directory"
echo " and run the script again."
read answer
case "$answer" in
exit 1
......@@ -343,6 +346,7 @@ wget -q --show-progress --progress=dot:giga -c
tar jxf $QEMU_NAME.tar.bz2
# initialize a git repo, to make it easy to track changes to QEMU source
if [ ! -d .git ]; then
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