Skip to content

Commit 9abf646

Browse files
authored
Merge pull request #29 from linuxdeploy/azubieta-fix-missing-ln-flag-in-centos-6
Fix missing ln -r flag in Centos 6
2 parents da71825 + ed46704 commit 9abf646

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

linuxdeploy-plugin-conda.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,12 @@ fi
126126

127127
# create symlinks for all binaries in usr/conda/bin/ in usr/bin/
128128
mkdir -p "$APPDIR"/usr/bin/
129-
for i in "$APPDIR"/usr/conda/bin/*; do
130-
ln -s -r "$i" "$APPDIR"/usr/bin/
129+
pushd "$APPDIR"
130+
for i in usr/conda/bin/*; do
131+
ln -s ../../"$i" usr/bin/
131132
done
133+
popd
134+
132135

133136
# remove bloat
134137
pushd "$APPDIR"/usr/conda

0 commit comments

Comments
 (0)