diff --git a/install.bash b/install.bash index db69659..3f7da1d 100755 --- a/install.bash +++ b/install.bash @@ -45,10 +45,10 @@ if [[ $OS == "ubuntu" ]] && [[ $(bc -l <<< "$UBUNTU_VERSION >= 21.10") -eq 1 ]]; fi fi -rm -rf overlayfs-tools/builddir -meson setup overlayfs-tools/builddir overlayfs-tools || exit 1 -meson compile -C overlayfs-tools/builddir || exit 1 -meson install -C overlayfs-tools/builddir || exit 1 +rm -rf "$BASEDIR"/overlayfs-tools/builddir +meson setup "$BASEDIR"/overlayfs-tools/builddir "$BASEDIR"/overlayfs-tools || exit 1 +meson compile -C "$BASEDIR"/overlayfs-tools/builddir || exit 1 +meson install -C "$BASEDIR"/overlayfs-tools/builddir || exit 1 echo "Installing zram-config files" if [[ "$OS" == "alpine" ]]; then diff --git a/update.bash b/update.bash index c04c77e..6266ae7 100755 --- a/update.bash +++ b/update.bash @@ -35,10 +35,10 @@ if [[ $1 != "custom" ]]; then git -C "$BASEDIR" reset --hard origin/main fi -rm -rf overlayfs-tools/builddir -meson setup overlayfs-tools/builddir overlayfs-tools || exit 1 -meson compile -C overlayfs-tools/builddir || exit 1 -meson install -C overlayfs-tools/builddir || exit 1 +rm -rf "$BASEDIR"/overlayfs-tools/builddir +meson setup "$BASEDIR"/overlayfs-tools/builddir "$BASEDIR"/overlayfs-tools || exit 1 +meson compile -C "$BASEDIR"/overlayfs-tools/builddir || exit 1 +meson install -C "$BASEDIR"/overlayfs-tools/builddir || exit 1 echo "Stopping zram-config service" if [[ $OS == "alpine" ]]; then