install.sh: -d will set -x

This commit is contained in:
xiongdian.me 2023-01-05 21:38:19 +08:00
parent bb1e012664
commit f373ed94ea
2 changed files with 1 additions and 2 deletions

View File

@ -60,7 +60,6 @@ jobs:
rev=`git rev-parse HEAD`
pwd
set -x
rm -rf /usr/local/bin/2to3-3.11 /usr/local/bin/2to3
./install.sh -adl
test `git rev-parse HEAD` = "$rev"

View File

@ -261,7 +261,7 @@ for i in ${GOT_OPTS[@]}; do
case $i in
-i ) FUNC=install ;;
-r ) FUNC=uninstall ;;
-d|--dev ) export DFS_DEV=1 ;;
-d|--dev ) export DFS_DEV=1; set -x ;;
-a|--auto ) INSTALL_DEP=1 ;;
-s|--secure ) export DFS_DEV=0 ;;
* ) fmt_fatal "unknown option \"$i\"" ;;