-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI: --allow-paths should support trailing /
#2147
Comments
I'm observing different things: $ solc --overwrite --bin -o out_dir github.com/ethereum/dapp-bin/library/=/tmp/test_contract --allow-paths /tmp/test_contract/ temp.sol However, just by appending a comma it'll compile: |
@jonnyhsy I think it is the same problem. The problem is that allow-paths doesn't work with a trailing slash. |
Hi @axic , I also tried $ solc --overwrite --bin -o out_dir github.com/ethereum/dapp-bin/library/=/tmp/test_contract/ --allow-paths /tmp/test_contract temp.sol; (no trailing slash), it also failed with error temp.sol:3:1: Error: Source "/tmp/test_contract/linkedList.sol" not found: File outside of allowed directories. |
Does not work as expected with"." and ".." in Solidity 0.4.19 (0.4.19+commit.c4cbbb05.Windows.msvc). Working cases: Cases that do not work: |
@JechoJekov it's working for me , thank you |
@JechoJekov Thanks Champ |
The text was updated successfully, but these errors were encountered: