Skip to content

Commit

Permalink
Use absolute path
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed Jul 1, 2024
1 parent bde7814 commit acb6eb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions install.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions update.bash
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit acb6eb7

Please sign in to comment.