show verbose.

This commit is contained in:
SANO Masatoshi 2017-02-11 18:13:05 +09:00
parent 39ba4d6d57
commit 91aaff3c81
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,7 @@ release-2:
ros scripts/release.ros release-2
winrelease:
ros -v -v version
ros -v version
mkdir -p roswell/lisp
mkdir -p roswell/documents/html
cp src/ros.exe roswell

View file

@ -43,6 +43,7 @@ int setup(char* target) {
return 0; /* lock file exists */
char* v=verbose==1?"-v ":(verbose==2?"-v -v ":"");
lock_apply("setup",0);
cond_printf(1,"verbose-option:'%s'\n",v);
char* version=get_opt(DEFAULT_IMPL".version",0);
if(!version)
SETUP_SYSTEM(cat(argv_orig[0]," ",v,"install "DEFAULT_IMPL,NULL),"Installing "DEFAULT_IMPL"...\n")