diff --git a/satellites/extrafiles/nxengine/nxengine.sh b/satellites/extrafiles/nxengine/nxengine.sh index 1c8aaf4..82c06ec 100644 --- a/satellites/extrafiles/nxengine/nxengine.sh +++ b/satellites/extrafiles/nxengine/nxengine.sh @@ -18,7 +18,7 @@ files=" mkdir -p "$dir_runtime" for file in $files; do - [ ! -L "$dir_runtime/$(basename "$file")" ] && ln -sf -t "$dir_runtime" "$dir_prefix/$file" + [ ! -L "$dir_runtime/$(basename "$file")" ] && ln -sf -t "$dir_runtime" "/$dir_prefix/$file" done cd "$dir_runtime" && ./nx diff --git a/satellites/nxengine.sat b/satellites/nxengine.sat index 01f6b03..6c73ce3 100644 --- a/satellites/nxengine.sat +++ b/satellites/nxengine.sat @@ -38,8 +38,8 @@ cp -r CaveStory/data "$dir_install/$dir_prefix/share/nxengine/data" dir_runtime="$(option dir_runtime=\$HOME/.nxengine)" sed -i -e "s/%PREFIX%/$(safe_sed "$dir_prefix")/" \ -e "s/%RUNTIME%/$(safe_sed "$dir_runtime")/" \ - -e "s/%LIBDIR%/$(safe_sed "$dir_libdir")" \ - -e "s/%DATADIR%/$(safe_sed "$dir_datadir")" \ + -e "s/%LIBDIR%/$(safe_sed "$dir_libdir")/" \ + -e "s/%DATADIR%/$(safe_sed "$dir_datadir")/" \ nxengine.sh install -Dm755 nxengine.sh "$dir_install/$dir_prefix/$dir_bindir/nxengine"