scripts/env: improve the wording of the question when starting repository (patch by Rolf Leggewie)
SVN-Revision: 29262
This commit is contained in:
parent
6b929e2687
commit
a97304cf61
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ env_new() {
|
||||||
fi
|
fi
|
||||||
git checkout -b "$1" "$from"
|
git checkout -b "$1" "$from"
|
||||||
if [ -f "$BASEDIR/.config" -o -d "$BASEDIR/files" ]; then
|
if [ -f "$BASEDIR/.config" -o -d "$BASEDIR/files" ]; then
|
||||||
if ask_bool 1 "Do you want to keep your current config and files?"; then
|
if ask_bool 1 "Do you want to start your configuration repository with the current configuration?"; then
|
||||||
[ -d "$BASEDIR/files" -a \! -L "$BASEDIR/files" ] && {
|
[ -d "$BASEDIR/files" -a \! -L "$BASEDIR/files" ] && {
|
||||||
mkdir -p "$ENVDIR/files"
|
mkdir -p "$ENVDIR/files"
|
||||||
shopt -s dotglob
|
shopt -s dotglob
|
||||||
|
|
Loading…
Reference in a new issue