diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /editors/atom/files/patch-atom.sh | |
parent | New port: math/py-optuna: A hyperparameter optimization framework (diff) |
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed
With hat: portmgr
Diffstat (limited to 'editors/atom/files/patch-atom.sh')
-rw-r--r-- | editors/atom/files/patch-atom.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/editors/atom/files/patch-atom.sh b/editors/atom/files/patch-atom.sh new file mode 100644 index 000000000000..9fa6334e5cc4 --- /dev/null +++ b/editors/atom/files/patch-atom.sh @@ -0,0 +1,20 @@ +--- atom.sh.orig 2019-05-22 03:44:37 UTC ++++ atom.sh +@@ -2,6 +2,8 @@ + + if [ "$(uname)" == 'Darwin' ]; then + OS='Mac' ++elif [ "$(uname)" == 'FreeBSD' ]; then ++ OS='FreeBSD' + elif [ "$(expr substr $(uname -s) 1 5)" == 'Linux' ]; then + OS='Linux' + else +@@ -149,7 +151,7 @@ if [ $OS == 'Mac' ]; then + else + open -a "$ATOM_PATH/$ATOM_APP_NAME" -n --args --executed-from="$(pwd)" --pid=$$ --path-environment="$PATH" "$@" + fi +-elif [ $OS == 'Linux' ]; then ++elif [ $OS == 'Linux' ] || [ $OS == 'FreeBSD' ]; then + SCRIPT=$(readlink -f "$0") + USR_DIRECTORY=$(readlink -f $(dirname $SCRIPT)/..) + |