After adding cryplot dependency to my shard.yml file and running shards install, I get this error:
Resolving dependencies
Fetching https://github.com/naqvis/cryplot.git
Installing cryplot (0.1.1)
Postinstall of cryplot: ./install.sh
Failed postinstall of cryplot on ./install.sh:
./install.sh: 5: ./install.sh: Bad substitution
./install.sh: 7: ./install.sh: pushd: not found
The problem was that my project path contains some spaces that were not escaped when calling pushd $PWD in install.sh. This pull request solves this problem by adding two double quote (") around PWD variable in install.sh.
After adding
cryplot
dependency to myshard.yml
file and runningshards install
, I get this error:The problem was that my project path contains some spaces that were not escaped when calling
pushd $PWD
ininstall.sh
. This pull request solves this problem by adding two double quote ("
) aroundPWD
variable ininstall.sh
.