Fork of the T.J. Watson Libraries for Analysis used by DASCA.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
675 B

#!/bin/bash -eu
cd "$(dirname "$0")"
# be selective; revert only launchers we think we know about
# if no launchers have changed, then there's nothing for us to do
if git diff --quiet "${launchers[@]}"; then
# create a backup in case we revert something that we should have left alone
git stash save --quiet 'safety snapshot before reverting launcher changes made by Eclipse Buildship import'
git stash apply --quiet
# revert launch configurations that Buildship import has mangled
# <>
git checkout -- "${launchers[@]}"