Procházet zdrojové kódy

reverse the last patch that replaces realpath with python commands

Chia-Che Tsai před 7 roky
rodič
revize
df4af2451d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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