Skip to content
Snippets Groups Projects
Commit e1e2d1d1 authored by Basile Desloges's avatar Basile Desloges
Browse files

[eacsl] Replace `which` with `command -v`

parent 52ea4b68
No related branches found
No related tags found
No related merge requests found
......@@ -220,13 +220,13 @@ $(EACSL_PLUGIN_DIR)/tests/test_config: \
$(EACSL_PLUGIN_DIR)/tests/test_config.in \
$(EACSL_PLUGIN_DIR)/Makefile
$(PRINT_MAKING) $@
$(SED) -e "s|@SEDCMD@|`which sed `|g" $< > $@
$(SED) -e "s|@SEDCMD@|`command -v sed`|g" $< > $@
$(EACSL_PLUGIN_DIR)/tests/test_config_dev: \
$(EACSL_PLUGIN_DIR)/tests/test_config_dev.in \
$(EACSL_PLUGIN_DIR)/Makefile
$(PRINT_MAKING) $@
$(SED) -e "s|@SEDCMD@|`which sed `|g" $< > $@
$(SED) -e "s|@SEDCMD@|`command -v sed`|g" $< > $@
clean::
for d in $(E_ACSL_EXTRA_DIRS); do \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment