Update checkdeps

This commit is contained in:
clsty
2025-10-30 12:33:34 +08:00
parent 8b25e2b037
commit f324310355
2 changed files with 10 additions and 23 deletions
+1 -1
View File
@@ -69,10 +69,10 @@ function pause(){
fi
}
function remove_bashcomments_emptylines(){
mkdir -p "$(dirname "$2")"
echo "pwd=$(pwd)"
echo "input=$1"
echo "output=$2"
mkdir -p "$(dirname "$2")"
cat "$1" | sed -e 's/#.*//' -e '/^[[:space:]]*$/d' > "$2"
}
function prevent_sudo_or_root(){