Ports: Don't throw error if _installed_ does not exist
This was annoying and I got multiple people reporting it as a possible bug.
This commit is contained in:
parent
c69919738b
commit
526d4369ce
|
@ -1,10 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
CURRENT_DIR=$(dirname $(realpath $0))
|
||||
pushd "$CURRENT_DIR" >/dev/null
|
||||
cd $(dirname $(realpath $0))
|
||||
|
||||
if [ ! -f installed ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
while read port; do
|
||||
${port}/build.sh
|
||||
done < installed
|
||||
|
||||
popd >/dev/null
|
||||
|
|
Loading…
Reference in New Issue