genode-ehmry/tool/prepare-port/builder.sh

11 lines
189 B
Bash

export PATH=
for i in $initialPath; do
if [ "$i" = / ]; then i=; fi
PATH=$PATH${PATH:+:}$i/bin
done
mkdir $out
sed -e "s^@initialPath@^$initialPath^g" \
< $setup > $out/setup