Skip to content

Commit

Permalink
STATIC: chown output directory to user to be able to write into it
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Westerfeld <[email protected]>
  • Loading branch information
swesterfeld committed Jun 26, 2024
1 parent d748d95 commit 1fb9aba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions static/staticbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,10 @@ cd ..
# TEMPLATES / INSTRUMENTS
cp -av \
/usr/local/spectmorph/share/spectmorph/templates \
/usr/local/spectmorph/share/spectmorph/instruments \
/usr/local/spectmorph/share/spectmorph/fonts \
/data

if [ -d /usr/local/spectmorph/share/spectmorph/instruments ]; then
cp -av /usr/local/spectmorph/share/spectmorph/instruments /data
fi

# VST
mkdir -p /data/vst
cp -av vst/spectmorph_vst.so.static /data/vst/spectmorph_vst.so
Expand All @@ -60,3 +57,5 @@ cp -av lv2/spectmorph_lv2.so.static /data/lv2/spectmorph.lv2/spectmorph_lv2.so
cp -av \
/usr/local/spectmorph/lib/lv2/spectmorph.lv2/spectmorph.ttl \
/usr/local/spectmorph/lib/lv2/spectmorph.lv2/manifest.ttl /data/lv2/spectmorph.lv2

chown -R 1000:1000 /data

0 comments on commit 1fb9aba

Please sign in to comment.