Skip to content

Commit beda49c

Browse files
committed
tree-wide: remove debug code
[skip ci]
1 parent d17ebfc commit beda49c

File tree

8 files changed

+27
-27
lines changed

8 files changed

+27
-27
lines changed

tur-electron-2/electron-test/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ termux_step_get_source() {
6565
mkdir -p "$__electron_src_dir"
6666
pushd "$__electron_src_dir"
6767
gclient config --name "src/electron" --unmanaged https://github.com/electron/electron --custom-var=checkout_chromium=False --verbose
68-
gclient sync --with_branch_heads --with_tags --verbose || bash
68+
gclient sync --with_branch_heads --with_tags --verbose
6969
popd # "$__electron_src_dir"
7070
touch "$TERMUX_PKG_CACHEDIR/.electron-source-fetched"
7171
fi
@@ -292,12 +292,12 @@ use_thin_lto=false
292292

293293
mkdir -p $TERMUX_PKG_BUILDDIR/out/Release
294294
cat $_common_args_file > $TERMUX_PKG_BUILDDIR/out/Release/args.gn
295-
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands || bash
295+
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands
296296
}
297297

298298
termux_step_make() {
299299
cd $TERMUX_PKG_BUILDDIR
300-
ninja -C $TERMUX_PKG_BUILDDIR/out/Release third_party/electron_node:headers electron electron_license chromium_licenses -k 0 || bash
300+
ninja -C $TERMUX_PKG_BUILDDIR/out/Release third_party/electron_node:headers electron electron_license chromium_licenses -k 0
301301
}
302302

303303
termux_step_make_install() {

tur-electron/electron-12/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ termux_step_get_source() {
2323
(sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" "$f" | patch -f --silent -R -p1 -d "$TERMUX_PKG_SRCDIR") || true
2424
done
2525
shopt -u nullglob
26-
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION || bash
26+
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION
2727
return
2828
fi
2929
fi
@@ -43,7 +43,7 @@ termux_step_get_source() {
4343
mkdir -p "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4444
pushd "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4545
gclient config --name "src/electron" --unmanaged https://github.com/electron/electron
46-
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION || bash
46+
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION
4747
popd
4848

4949
# Solve error like `.git/packed-refs is dirty`
@@ -273,12 +273,12 @@ enable_nacl = false
273273

274274
mkdir -p $TERMUX_PKG_BUILDDIR/out/Release
275275
cat $_common_args_file > $TERMUX_PKG_BUILDDIR/out/Release/args.gn
276-
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands || bash
276+
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands
277277
}
278278

279279
termux_step_make() {
280280
cd $TERMUX_PKG_BUILDDIR
281-
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses || bash
281+
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses
282282
}
283283

284284
termux_step_make_install() {

tur-electron/electron-13/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ termux_step_get_source() {
2323
(sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" "$f" | patch -f --silent -R -p1 -d "$TERMUX_PKG_SRCDIR") || true
2424
done
2525
shopt -u nullglob
26-
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION || bash
26+
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION
2727
return
2828
fi
2929
fi
@@ -43,7 +43,7 @@ termux_step_get_source() {
4343
mkdir -p "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4444
pushd "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4545
gclient config --name "src/electron" --unmanaged https://github.com/electron/electron
46-
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION || bash
46+
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION
4747
popd
4848

4949
# Solve error like `.git/packed-refs is dirty`
@@ -275,12 +275,12 @@ use_thin_lto = false
275275

276276
mkdir -p $TERMUX_PKG_BUILDDIR/out/Release
277277
cat $_common_args_file > $TERMUX_PKG_BUILDDIR/out/Release/args.gn
278-
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands || bash
278+
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands
279279
}
280280

281281
termux_step_make() {
282282
cd $TERMUX_PKG_BUILDDIR
283-
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses || bash
283+
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses
284284
}
285285

286286
termux_step_make_install() {

tur-electron/electron-19/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ termux_step_get_source() {
2525
(sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" "$f" | patch -f --silent -R -p1 -d "$TERMUX_PKG_SRCDIR") || true
2626
done
2727
shopt -u nullglob
28-
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION || bash
28+
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION
2929
return
3030
fi
3131
fi
@@ -46,7 +46,7 @@ termux_step_get_source() {
4646
mkdir -p "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4747
pushd "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4848
gclient config --name "src/electron" --unmanaged https://github.com/electron/electron
49-
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION || bash
49+
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION
5050
popd
5151

5252
# Solve error like `.git/packed-refs is dirty`
@@ -227,12 +227,12 @@ use_thin_lto=false
227227

228228
mkdir -p $TERMUX_PKG_BUILDDIR/out/Release
229229
cat $_common_args_file > $TERMUX_PKG_BUILDDIR/out/Release/args.gn
230-
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands || bash
230+
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands
231231
}
232232

233233
termux_step_make() {
234234
cd $TERMUX_PKG_BUILDDIR
235-
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses || bash
235+
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses
236236
}
237237

238238
termux_step_make_install() {

tur-electron/electron-21/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ termux_step_get_source() {
5050
(sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" "$f" | patch -f --silent -R -p1 -d "$TERMUX_PKG_SRCDIR") || true
5151
done
5252
shopt -u nullglob
53-
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION || bash
53+
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION
5454
return
5555
fi
5656
fi
@@ -66,7 +66,7 @@ termux_step_get_source() {
6666
mkdir -p "$TERMUX_PKG_CACHEDIR/tmp-checkout"
6767
pushd "$TERMUX_PKG_CACHEDIR/tmp-checkout"
6868
gclient config --name "src/electron" --unmanaged https://github.com/electron/electron
69-
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION || bash
69+
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION
7070
popd
7171

7272
# Solve error like `.git/packed-refs is dirty`

tur-electron/electron-22/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ termux_step_get_source() {
2525
(sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" "$f" | patch -f --silent -R -p1 -d "$TERMUX_PKG_SRCDIR") || true
2626
done
2727
shopt -u nullglob
28-
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION || bash
28+
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION
2929
return
3030
fi
3131
fi
@@ -46,7 +46,7 @@ termux_step_get_source() {
4646
mkdir -p "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4747
pushd "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4848
gclient config --name "src/electron" --unmanaged https://github.com/electron/electron
49-
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION || bash
49+
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION
5050
popd
5151

5252
# Solve error like `.git/packed-refs is dirty`
@@ -227,12 +227,12 @@ use_thin_lto=false
227227

228228
mkdir -p $TERMUX_PKG_BUILDDIR/out/Release
229229
cat $_common_args_file > $TERMUX_PKG_BUILDDIR/out/Release/args.gn
230-
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands || bash
230+
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands
231231
}
232232

233233
termux_step_make() {
234234
cd $TERMUX_PKG_BUILDDIR
235-
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses || bash
235+
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses
236236
}
237237

238238
termux_step_make_install() {

tur-electron/electron-25/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ termux_step_get_source() {
2525
(sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" "$f" | patch -f --silent -R -p1 -d "$TERMUX_PKG_SRCDIR") || true
2626
done
2727
shopt -u nullglob
28-
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION || bash
28+
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION
2929
return
3030
fi
3131
fi
@@ -46,7 +46,7 @@ termux_step_get_source() {
4646
mkdir -p "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4747
pushd "$TERMUX_PKG_CACHEDIR/tmp-checkout"
4848
gclient config --name "src/electron" --unmanaged https://github.com/electron/electron
49-
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION || bash
49+
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION
5050
popd
5151

5252
# Solve error like `.git/packed-refs is dirty`
@@ -233,12 +233,12 @@ use_thin_lto=false
233233

234234
mkdir -p $TERMUX_PKG_BUILDDIR/out/Release
235235
cat $_common_args_file > $TERMUX_PKG_BUILDDIR/out/Release/args.gn
236-
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands || bash
236+
gn gen $TERMUX_PKG_BUILDDIR/out/Release --export-compile-commands
237237
}
238238

239239
termux_step_make() {
240240
cd $TERMUX_PKG_BUILDDIR
241-
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses -k 0 || bash
241+
ninja -C $TERMUX_PKG_BUILDDIR/out/Release electron electron_license chromium_licenses -k 0
242242
}
243243

244244
termux_step_make_install() {

tur-electron/electron-27/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ termux_step_get_source() {
3535
(sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|g" "$f" | patch -f --silent -R -p1 -d "$TERMUX_PKG_SRCDIR") || true
3636
done
3737
shopt -u nullglob
38-
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION || bash
38+
python $TERMUX_SCRIPTDIR/common-files/apply-chromium-patches.py --electron -C "$TERMUX_PKG_SRCDIR" -R -v $_CHROMIUM_VERSION
3939
return
4040
fi
4141
fi
@@ -51,7 +51,7 @@ termux_step_get_source() {
5151
mkdir -p "$TERMUX_PKG_CACHEDIR/tmp-checkout"
5252
pushd "$TERMUX_PKG_CACHEDIR/tmp-checkout"
5353
gclient config --name "src/electron" --unmanaged https://github.com/electron/electron
54-
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION || bash
54+
gclient sync --with_branch_heads --with_tags --no-history --revision v$TERMUX_PKG_VERSION
5555
popd
5656

5757
# Solve error like `.git/packed-refs is dirty`

0 commit comments

Comments
 (0)