diff --git a/sdata/lib/functions.sh b/sdata/lib/functions.sh index 62024d683..dbcf7e8d2 100644 --- a/sdata/lib/functions.sh +++ b/sdata/lib/functions.sh @@ -62,7 +62,7 @@ function x(){ function showfun(){ echo -e "${STY_BLUE}[$0]: The definition of function \"$1\" is as follows:${STY_RST}" printf "${STY_GREEN}" - type -a "$1" 2>/dev/null || type -a "$1".sh 2>/dev/null || return 1 + type -a "$1" 2>/dev/null || return 1 printf "${STY_RST}" } function pause(){ @@ -290,4 +290,4 @@ function check_disk_space() { fi return 0 -} \ No newline at end of file +} diff --git a/sdata/step/exp-update.sh b/sdata/step/exp-update.sh old mode 100755 new mode 100644