Skip to content

Commit

Permalink
activate.sh: Perform read permission check before symlinking
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasAlbertQC committed Jan 30, 2023
1 parent 18fc705 commit 7c0287a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions recipe/activate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@

# where the GDB wrappers get installed
GDB_PREFIX=$CONDA_PREFIX/share/gdb/auto-load

# If the directory is not writable, nothing can be done
if [ ! -w $GDB_PREFIX ]; then
return
fi

# this needs to be in sync with the respective patch
PLACEHOLDER=replace_this_section_with_absolute_slashed_path_to_CONDA_PREFIX
# the paths here are intentionally stacked, see #935, resp.
Expand Down
2 changes: 1 addition & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ source:
folder: testing

build:
number: 5
number: 6
# for cuda support, building with one version is enough to be compatible with
# all later versions, since arrow is only using libcuda, and not libcudart.
skip: true # [cuda_compiler_version not in ("None", cuda_compiler_version_min)]
Expand Down

0 comments on commit 7c0287a

Please sign in to comment.