diff options
| author | David Phillips <dbphillipsnz@gmail.com> | 2016-09-19 11:14:37 +1200 | 
|---|---|---|
| committer | David Phillips <dbphillipsnz@gmail.com> | 2016-09-19 11:14:37 +1200 | 
| commit | fcc7c9dce8410bb14d9fe546d66010a01eee365e (patch) | |
| tree | f932958a6799afff6cf9a1799c5872f0f066848a | |
| parent | 45765795c2c50f85d79b0cd492ede26af79b774d (diff) | |
| download | fractal-gen-fcc7c9dce8410bb14d9fe546d66010a01eee365e.tar.xz | |
Allow running of wrapper script from outside its direectory
| -rwxr-xr-x | extra/burning-ship-lattice-gen.sh | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/extra/burning-ship-lattice-gen.sh b/extra/burning-ship-lattice-gen.sh index 68f483e..0cb66a1 100755 --- a/extra/burning-ship-lattice-gen.sh +++ b/extra/burning-ship-lattice-gen.sh @@ -1,3 +1,5 @@  #!/bin/sh -exec ../burning-ship-gen -x -1.755 -y -0.037 -z 0.09 $@ +ourdir="$(dirname $0)" + +exec "${ourdir}/../burning-ship-gen" -x -1.755 -y -0.037 -z 0.09 $@ | 
