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
|
#!/bin/bash
|
||||||
|
|
||||||
CURRENT_DIR=$(dirname $(realpath $0))
|
cd $(dirname $(realpath $0))
|
||||||
pushd "$CURRENT_DIR" >/dev/null
|
|
||||||
|
if [ ! -f installed ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
while read port; do
|
while read port; do
|
||||||
${port}/build.sh
|
${port}/build.sh
|
||||||
done < installed
|
done < installed
|
||||||
|
|
||||||
popd >/dev/null
|
|
||||||
|
|
Loading…
Reference in New Issue