Merge branch 'main' of github.com:ratfactor/ziglings into main

This commit is contained in:
Dave Gauer 2021-03-05 11:01:16 -05:00
commit 0f04860ac0
7 changed files with 10 additions and 10 deletions

View file

@ -32,4 +32,3 @@ $ zig build -Dhealed [step]
Another Bash shell script named `gollum.sh` may also be found. He snatches the
original answers and stows them in his secret answers stash. If you leave him
alone, he'll leave you alone.

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
# "I will be a shieldmaiden no longer,
# nor vie with the great Riders, nor
@ -14,7 +14,7 @@
#
# We run from the patches dir. Go there now if not already.
cd $(dirname $(which $0))
cd $(dirname $(realpath $0))
pwd # Show it upon the screen so all shall be made apparent.
# Create healed/ directory here if it doesn't already exist.

View file

@ -1,12 +1,12 @@
#!/bin/bash
#!/bin/sh
#
# "It isn't fair, my precious, is it,
# to ask us what it's got in it's
# nassty little pocketsess?"
# Gollum, The Hobbit, or There and Back Again
# Gollum, The Hobbit, or There and Back Again
#
cd $(dirname $(which $0))
cd $(dirname $(realpath $0))
f=$(basename ../exercises/$1*.zig .zig 2> /dev/null)
b=../exercises/$f.zig
a=../answers/$f.zig