#!/bin/sh SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" &> /dev/null && pwd) cd $SCRIPT_DIR git submodule update --remote git submodule foreach "../makepkg-and-update-db.sh $1"