瀏覽代碼

reverse the last patch that replaces realpath with python commands

Chia-Che Tsai 7 年之前
父節點
當前提交
df4af2451d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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