Replace unnecessary cd
calls
This commit is contained in:
parent
9c124386c3
commit
54ba34d8fe
2 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ else
|
|||
popd > /dev/null;
|
||||
|
||||
git clone https://aur.archlinux.org/ttf-ms-win11-auto.git ttf-win11;
|
||||
cd ttf-win11;
|
||||
pushd ttf-win11 > /dev/null;
|
||||
# shellcheck source=/dev/null
|
||||
source ./PKGBUILD;
|
||||
prepare;
|
||||
|
@ -23,7 +23,7 @@ else
|
|||
|
||||
rm -f /usr/local/bin/httpdirfs;
|
||||
|
||||
cd "$tempDir";
|
||||
popd > /dev/null;
|
||||
wget -O CascadiaCode.zip https://github.com/microsoft/cascadia-code/releases/download/v2111.01/CascadiaCode-2111.01.zip;
|
||||
unzip -d . CascadiaCode.zip;
|
||||
cp ttf/* /usr/share/fonts/TTF;
|
||||
|
|
|
@ -5,7 +5,7 @@ then
|
|||
sudo bash "$BASH_SOURCE";
|
||||
else
|
||||
contextRoot="$(mktemp -d)";
|
||||
cd "$contextRoot";
|
||||
pushd "$contextRoot" > /dev/null;
|
||||
|
||||
# Preview from docker container
|
||||
# container_id="$(docker create woodpeckerci/woodpecker-cli:next)"
|
||||
|
|
Loading…
Reference in a new issue