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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user