From 8fd2486621ada9eaf67fbc3432317438ea86edc2 Mon Sep 17 00:00:00 2001 From: Tobias Wallin Date: Fri, 20 Nov 2020 22:46:27 +0100 Subject: [PATCH] remove source (again) --- extras/test/factorio.bats | 1 - factorio | 4 ---- 2 files changed, 5 deletions(-) diff --git a/extras/test/factorio.bats b/extras/test/factorio.bats index 44c4439..da59337 100755 --- a/extras/test/factorio.bats +++ b/extras/test/factorio.bats @@ -314,6 +314,5 @@ Aborting install, unable to curl '${LATEST_HEADLESS_URL}'" #help|--help|-h) #listcommands) #listsaves) - #source) #mod) #version) diff --git a/factorio b/factorio index 4893cbd..d942cf0 100755 --- a/factorio +++ b/factorio @@ -972,10 +972,6 @@ run_main(){ version) get_bin_version ;; - source) - # do not call `exit` and just return successfully, so that other scripts (possibly with set -e) may source this script to import all out variables and functions - return 0 - ;; mod) shift mod "$@"