Debug zsh
This commit is contained in:
parent
7b814786d4
commit
3110dd1ebd
6
qsgen2
6
qsgen2
@ -105,12 +105,12 @@ else
|
||||
fi
|
||||
debug=true
|
||||
if (${debug}); then
|
||||
qsconfig=$( cat $(pwd)/config | grep -v \# | awk '{print substr($0, index($0, " ") + 1)}' )
|
||||
qsconfig=( $( cat $(pwd)/config | grep -v \# | awk '{print substr($0, index($0, " ") + 1)}' ) )
|
||||
# qsconfig=$(<${qsconfig})
|
||||
echo "${red}Contents of Config file:${end}"
|
||||
for lines in ${qsconfig}
|
||||
for qslines in ${qsconfig[@]}
|
||||
do
|
||||
echo "${yellow}${lines}${end}"
|
||||
echo "${yellow}- ${qslines}${end}"
|
||||
done
|
||||
#echo "${yellow} - site_name=${site_name}${end}"
|
||||
#echo "${yellow} - site_tagline=${site_tagline}${end}"
|
||||
|
Loading…
Reference in New Issue
Block a user