File indexing completed on 2025-01-05 04:00:16
0001 #!/bin/bash 0002 0003 # SPDX-FileCopyrightText: 2008-2024 by Gilles Caulier, <caulier dot gilles at gmail dot com> 0004 # 0005 # SPDX-License-Identifier: BSD-3-Clause 0006 # 0007 0008 # Ask to run as root 0009 (( EUID != 0 )) && exec sudo -- "$0" "$@" 0010 0011 # Halt and catch errors 0012 set -eE 0013 trap 'PREVIOUS_COMMAND=$THIS_COMMAND; THIS_COMMAND=$BASH_COMMAND' DEBUG 0014 trap 'echo "FAILED COMMAND: $PREVIOUS_COMMAND"' ERR 0015 0016 ORIG_WD="`pwd`" 0017 0018 cd $ORIG_WD/7.x/project/bundles/macports 0019 git pull 0020 ./update.sh 0021 0022 cd $ORIG_WD/8.x/project/bundles/macports 0023 git pull 0024 ./update.sh 0025 0026 cd $ORIG_WD 0027