change directory path for patch

This commit is contained in:
Emmanuel Garette 2022-10-01 19:10:05 +02:00
parent dab5d03ac5
commit dd4d51c53c

View file

@ -1,5 +1,3 @@
#!/bin/bash
mkdir -p "$IMAGE_NAME_RISOTTO_IMAGE_DIR/proc/self/" mkdir -p "$IMAGE_NAME_RISOTTO_IMAGE_DIR/proc/self/"
cat /proc/self/stat > "$IMAGE_NAME_RISOTTO_IMAGE_DIR/proc/self/stat" cat /proc/self/stat > "$IMAGE_NAME_RISOTTO_IMAGE_DIR/proc/self/stat"
PLUGINS_DIR=/usr/share/peertube_plugins PLUGINS_DIR=/usr/share/peertube_plugins
@ -25,5 +23,5 @@ rmdir "$IMAGE_NAME_RISOTTO_IMAGE_DIR/proc/self/"
rm -f "$IMAGE_NAME_RISOTTO_IMAGE_DIR/install.sh" rm -f "$IMAGE_NAME_RISOTTO_IMAGE_DIR/install.sh"
cd "$IMAGE_NAME_RISOTTO_IMAGE_DIR$PLUGINS_DIR/.." cd "$IMAGE_NAME_RISOTTO_IMAGE_DIR$PLUGINS_DIR/.."
patch -p0 < $OLDPWD/peertube/manual/postinstall/peertube.patch patch -p0 < "$IMAGE_DIR_RECIPIENT_IMAGE/postinstall/peertube.patch"
cd - cd -