From acb6eb71931bbf07664b820c3b9f1215429b15f7 Mon Sep 17 00:00:00 2001 From: Ethan Dye Date: Sun, 30 Jun 2024 18:46:32 -0600 Subject: [PATCH] Use absolute path Signed-off-by: Ethan Dye --- install.bash | 8 ++++---- update.bash | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) 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