Skip to content

Commit f7e7a39

Browse files
committed
test 15
1 parent 2e735d8 commit f7e7a39

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/script/dfbsd.sh

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ debug_ci(){
128128
border_color=1
129129
title="DEBUG-SECTION"
130130
[ -n "$1" ] && title="$1"
131-
[ "$DEBUG_CI" = "YES"] &&
131+
[ "$DEBUG_CI" = "YES" ] &&
132132
{
133133
on_github && echo "::group::$title" &&
134134
tput setaf $border_color &&
@@ -142,7 +142,7 @@ debug_ci(){
142142
debug_ci_end(){
143143
text_color=6
144144
border_color=1
145-
[ "$DEBUG_CI" = "YES"] &&
145+
[ "$DEBUG_CI" = "YES" ] &&
146146
{
147147
on_github && echo "::endgroup::"
148148
tput setaf $border_color
@@ -246,7 +246,7 @@ step_6(){
246246
step_7(){
247247
section 'Install build dependencies'
248248
make build-depends-list | sort | uniq | grep -v '^==\|xlibre\|xorg-macros' | cut -d '/' -f 4- | xargs pkg install -y
249-
make -C ${PORTS_DIR}/devel/xorg-macros/ clean
249+
make -C "${PORTS_DIR}/devel/xorg-macros/" clean
250250
section_end
251251
}
252252

@@ -271,7 +271,7 @@ step_10(){
271271
step_10(){
272272
section 'Package'
273273
export PACKAGES="$(pwd)/pkgs/"
274-
mkdir $PACKAGES
274+
mkdir "$PACKAGES"
275275
make package
276276
debug_ci && {
277277
ls "${PACKAGES}"
@@ -283,10 +283,10 @@ step_10(){
283283
step_11(){
284284
section 'Repo setup'
285285
ABI="$(pkg config abi)"
286-
mv $PACKAGES/All $PACKAGES/$ABI
287-
pkg repo -l $PACKAGES/$ABI
286+
mv "$PACKAGES/All" "$PACKAGES/$ABI"
287+
pkg repo -l "$PACKAGES/$ABI"
288288
pkg install -y tree
289-
cd $PACKAGES/$ABI
289+
cd "$PACKAGES/$ABI"
290290
tree -h -D -C -H -./ --houtro=/dev/null -T "XLibre binaries for $OS_NAME" ./ > ./index.html
291291
debug_ci && {
292292
pwd
@@ -305,9 +305,9 @@ step_11(){
305305
then
306306
eval "step_$1"
307307
else
308-
for i in "$(seq 0 11)"
308+
for i in $(seq 0 11)
309309
do
310-
eval "step_$1" || exit
310+
eval "step_$i" || exit
311311
done
312312
fi
313313

0 commit comments

Comments
 (0)