Skip to content

Commit

Permalink
feat: use $DEVCONTAINER_LIBRARIES_HOME in features (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
phorcys420 authored Aug 8, 2024
1 parent 44b6b16 commit 5e8cb74
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions src/cutter/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ set -euo pipefail
FEATURE_NAME="cutter"
echo "Activating feature '$FEATURE_NAME'"

LIBRARY_FOLDER="/usr/share/phorcys-devcontainer-libraries"

# Source lib-common and lib-github features
source "$LIBRARY_FOLDER/common/1/main.sh"
source "$LIBRARY_FOLDER/github/1/main.sh"
# Source lib-common and lib-github features (DEVCONTAINER_LIBRARIES_HOME is defined by lib-common)
source "$DEVCONTAINER_LIBRARIES_HOME/common/1/main.sh"
source "$DEVCONTAINER_LIBRARIES_HOME/github/1/main.sh"

# Load options
REPOSITORY=${REPOSITORY:-rizinorg/cutter}
Expand Down
8 changes: 3 additions & 5 deletions src/ghidra/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ set -euo pipefail
FEATURE_NAME="ghidra"
echo "Activating feature '$FEATURE_NAME'"

LIBRARY_FOLDER="/usr/share/phorcys-devcontainer-libraries"

# Source lib-common and lib-github features
source "$LIBRARY_FOLDER/common/1/main.sh"
source "$LIBRARY_FOLDER/github/1/main.sh"
# Source lib-common and lib-github features (DEVCONTAINER_LIBRARIES_HOME is defined by lib-common)
source "$DEVCONTAINER_LIBRARIES_HOME/common/1/main.sh"
source "$DEVCONTAINER_LIBRARIES_HOME/github/1/main.sh"

# Load options
REPOSITORY=${REPOSITORY:-NationalSecurityAgency/ghidra}
Expand Down

0 comments on commit 5e8cb74

Please sign in to comment.