How to 'source' a shell script using bash from zsh?
Fresh3 days ago
Mar 15, 20269039 viewsConfidence Score0%
0%
Problem
I am using zsh and like it very much, but work a lot with Android source which has compilation scripts that require bash to be evaluated correctly. These scripts need to be sourced prior to compilation and define environment variables and shell functions that are used during compilation. Zsh cannot…
Error Output
url-quote-magic:24: bad pattern: ( ):/(|/localhost)/*
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to 'source' a shell script using bash from zsh?
Low Risk
You could put your compilation commandline in a bash script, which sources the compilation scripts bevor executing the compilation command. Something like Then instead of invoking by hand, you just invoke your new bash script.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix