Browse Source

reverse the last patch that replaces realpath with python commands

Chia-Che Tsai 7 years ago
parent
commit
df4af2451d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      LibOS/shim/test/Makefile

+ 1 - 1
LibOS/shim/test/Makefile

@@ -39,7 +39,7 @@ manifest_rules = \
 
 %manifest: %manifest.template
 	@echo [ $@ ]
-	RELDIR=$(filter-out ./,$(shell realpath --relative-to=$(abspath $(dir $@)) $(PWD))/) && \
+	RELDIR=$(filter-out ./,$(python -c "import os.path; print os.path.relpath($(abspath $(dir $@)) $(PWD))")) && \
 	sed $(manifest_rules) $< > $@
 	(grep -q '^#!' $@ && chmod +x $@) || true