mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:14:05 +02:00
scripts/env: improve the wording of the question when starting repository (patch by Rolf Leggewie)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29262 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
2759bfac85
commit
921bb0da77
@ -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 New Issue
Block a user