Skip to content

Commit

Permalink
octave-wrapper: rm globbed symlinked tarballs instead for-loop unlink
Browse files Browse the repository at this point in the history
In response to:
NixOS#108562 (comment)
  • Loading branch information
KarlJoad committed Jan 6, 2021
1 parent 12d41c4 commit f3dcd0b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkgs/development/interpreters/octave/wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@ let
fi
# Remove symlinks to the input tarballs, they aren't needed.
for tarball in $out/*.tar.gz; do
unlink $tarball
done
rm $out/*.tar.gz
if [ -L "$out/share" ]; then
unlink "$out/share"
Expand Down

0 comments on commit f3dcd0b

Please sign in to comment.