Skip to content

Commit

Permalink
Fixes;
Browse files Browse the repository at this point in the history
  • Loading branch information
braun-daniel committed Oct 10, 2024
1 parent 687b017 commit 2604a0b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions src/fzf/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env bash
# This script installs fzf and all necessary tools for a DevContainer feature.

# Exit script on any error
set -e

# Install git
Expand All @@ -10,5 +8,5 @@ apt-get update
apt-get install -y git

# Install fzf
su - "$_REMOTE_USER" -c "git clone --depth 1 https://github.com/junegunn/fzf.git ${_REMOTE_USER_HOME}/.fzf"
su - "$_REMOTE_USER" -c "git clone --depth=1 https://github.com/junegunn/fzf.git ${_REMOTE_USER_HOME}/.fzf"
su - "$_REMOTE_USER" -c "${_REMOTE_USER_HOME}/.fzf/install"
2 changes: 1 addition & 1 deletion test/spaceship/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -e
source dev-container-features-test-lib

# Definition specific tests
check "check for spaceship" su -c "$_REMOTE_USER" -c "spaceship --version"
check "check for spaceship" su - "$_REMOTE_USER" -c "spaceship --version"

# Report result
reportResults

0 comments on commit 2604a0b

Please sign in to comment.