mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-04-25 00:47:06 +08:00
install.sh: -d will set -x
This commit is contained in:
parent
bb1e012664
commit
f373ed94ea
1
.github/workflows/test.yml
vendored
1
.github/workflows/test.yml
vendored
|
@ -60,7 +60,6 @@ jobs:
|
||||||
rev=`git rev-parse HEAD`
|
rev=`git rev-parse HEAD`
|
||||||
pwd
|
pwd
|
||||||
set -x
|
set -x
|
||||||
rm -rf /usr/local/bin/2to3-3.11 /usr/local/bin/2to3
|
|
||||||
./install.sh -adl
|
./install.sh -adl
|
||||||
test `git rev-parse HEAD` = "$rev"
|
test `git rev-parse HEAD` = "$rev"
|
||||||
|
|
||||||
|
|
|
@ -261,7 +261,7 @@ for i in ${GOT_OPTS[@]}; do
|
||||||
case $i in
|
case $i in
|
||||||
-i ) FUNC=install ;;
|
-i ) FUNC=install ;;
|
||||||
-r ) FUNC=uninstall ;;
|
-r ) FUNC=uninstall ;;
|
||||||
-d|--dev ) export DFS_DEV=1 ;;
|
-d|--dev ) export DFS_DEV=1; set -x ;;
|
||||||
-a|--auto ) INSTALL_DEP=1 ;;
|
-a|--auto ) INSTALL_DEP=1 ;;
|
||||||
-s|--secure ) export DFS_DEV=0 ;;
|
-s|--secure ) export DFS_DEV=0 ;;
|
||||||
* ) fmt_fatal "unknown option \"$i\"" ;;
|
* ) fmt_fatal "unknown option \"$i\"" ;;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user