We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f53522 commit 1e686ecCopy full SHA for 1e686ec
util/build-gnu.sh
@@ -345,3 +345,8 @@ sed -i "s/color_code='0;31;42'/color_code='31;42'/" tests/ls/quote-align.sh
345
346
# Slightly different error message
347
sed -i 's/not supported/unexpected argument/' tests/mv/mv-exchange.sh
348
+# Most tests check that `/usr/bin/tr` is working correctly before running.
349
+# However in NixOS/Nix-based distros, the tr coreutil is located somewhere in
350
+# /nix/store/xxxxxxxxxxxx...xxxx/bin/tr
351
+# We just replace the references to `/usr/bin/tr` with the result of `$(which tr)`
352
+sed -i 's/\/usr\/bin\/tr/$(which tr)/' tests/init.sh
0 commit comments