mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-11 09:14:06 +01:00
display instructions if gyb is missing
This commit is contained in:
parent
544daf5756
commit
69ebecaf40
@ -1,7 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
find . -name '*.gyb' | \
|
||||
while read file; do \
|
||||
echo "running ${file%.gyb}"; \
|
||||
gyb --line-directive '' -o "${file%.gyb}" "$file"; \
|
||||
if [ ! $(type -P "gyb") ]; then
|
||||
echo "gyb not installed. Install via: brew install nshipster/formulae/gyb"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find . -name '*.gyb' |
|
||||
while read file; do
|
||||
echo "running ${file%.gyb}";
|
||||
gyb --line-directive '' -o "${file%.gyb}" "$file";
|
||||
done
|
Loading…
Reference in New Issue
Block a user