Skip to content

Commit

Permalink
fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepCowProductions committed Sep 25, 2024
1 parent 78f023d commit 53b938c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/arm32/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ RUN chmod +x /usr/local/bin/before-notebook.d/90_link_files.sh
USER $NB_UID

RUN cd /opt/PICO && git clone https://github.com/fhswf/PICO-CAM-A.git
#RUN mkdir /opt/PICO/PICO-CAM-A/build && cd /opt/PICO/PICO-CAM-A/build && cmake -D PICO_SDK_FETCH_FROM_GIT=1 ..
RUN mkdir /opt/PICO/PICO-CAM-A/build
#RUN cd /opt/PICO/PICO-CAM-A/build && make

LABEL ki.fh-swf.de.jupyterhub.runtime="CPU"
Expand Down
2 changes: 1 addition & 1 deletion images/arm32/link_files.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

if [[ ! -f "$HOME/PICO" ]] ; then
if [[ ! -d "$HOME/PICO" ]] ; then
echo "cping /opt/PICO";
cp -R /opt/PICO/* $HOME/PICO
else
Expand Down

0 comments on commit 53b938c

Please sign in to comment.