Rearrange files

This commit is contained in:
2025-10-30 10:37:05 +00:00
parent e22fbbd504
commit d1e13093c5
3 changed files with 12 additions and 12 deletions

6
setup.sh Normal file → Executable file
View File

@@ -25,7 +25,7 @@ else
echo "Success: $DIR/build/X-kutu.so is compiled."
fi
for f in "$DIR/kutu-run.rb" "$DIR/kutu.rb" "$DIR/src/shell/"*; do
for f in "$DIR/bin/"* "$DIR/src/shell/"*; do
chmod +x "$f" || {
echo "Error: Failed to chmod $f" >&2
exit 1
@@ -33,8 +33,8 @@ for f in "$DIR/kutu-run.rb" "$DIR/kutu.rb" "$DIR/src/shell/"*; do
done
if ! command -v kutu.rb >/dev/null 2>&1 || ! command -v kutu-run.rb >/dev/null 2>&1; then
echo "Tip: Add $DIR to your PATH to run 'kutu.rb' and 'kutu-run.rb' from anywhere:"
echo "export PATH=\"\$PATH:$DIR\""
echo "Tip: Add $DIR/bin to your PATH to run 'kutu.rb' and 'kutu-run.rb' from anywhere:"
echo "export PATH=\"\$PATH:$DIR/bin\""
fi
echo -e "\e[32mAll done! Build successful.\e[0m"