diff options
author | Gabor Greif <ggreif@gmail.com> | 2021-01-18 18:50:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-18 18:50:26 +0100 |
commit | 32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc (patch) | |
tree | 89597859ffe12669988d527fb63de78fe1fe1461 /pkgs/misc | |
parent | 5d55162e2a1dedf4dd8bb5319576c9686ae52881 (diff) | |
download | nixpkgs-32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc.tar nixpkgs-32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc.tar.gz nixpkgs-32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc.tar.bz2 nixpkgs-32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc.tar.lz nixpkgs-32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc.tar.xz nixpkgs-32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc.tar.zst nixpkgs-32cf0e38a17b99b0fbb8c3f17b0c9e0a94f037bc.zip |
vscode-extensions: some tweaks to comments (#100282)
Diffstat (limited to 'pkgs/misc')
-rwxr-xr-x | pkgs/misc/vscode-extensions/update_installed_exts.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/misc/vscode-extensions/update_installed_exts.sh b/pkgs/misc/vscode-extensions/update_installed_exts.sh index fdbc14fb264..659ed8da791 100755 --- a/pkgs/misc/vscode-extensions/update_installed_exts.sh +++ b/pkgs/misc/vscode-extensions/update_installed_exts.sh @@ -8,7 +8,7 @@ function fail() { exit 1 } -# Helper to clean up after ourself if we're killed by SIGINT +# Helper to clean up after ourselves if we're killed by SIGINT. function clean_up() { TDIR="${TMPDIR:-/tmp}" echo "Script killed, cleaning up tmpdirs: $TDIR/vscode_exts_*" >&2 @@ -18,7 +18,7 @@ function clean_up() { function get_vsixpkg() { N="$1.$2" - # Create a tempdir for the extension download + # Create a tempdir for the extension download. EXTTMP=$(mktemp -d -t vscode_exts_XXXXXXXX) URL="https://$1.gallery.vsassets.io/_apis/public/gallery/publisher/$1/extension/$2/latest/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage" @@ -32,7 +32,7 @@ function get_vsixpkg() { # Clean up. rm -Rf "$EXTTMP" - # I don't like 'rm -Rf' lurking in my scripts but this seems appropriate + # I don't like 'rm -Rf' lurking in my scripts but this seems appropriate. cat <<-EOF { @@ -44,7 +44,7 @@ function get_vsixpkg() { EOF } -# See if can find our code binary somewhere. +# See if we can find our `code` binary somewhere. if [ $# -ne 0 ]; then CODE=$1 else |