Spaces:
Runtime error
Runtime error
More echos
Browse files- entrypoint.sh +17 -0
entrypoint.sh
CHANGED
@@ -2,6 +2,23 @@
|
|
2 |
echo "Current directory: $(pwd)"
|
3 |
echo "Current path: $PATH"
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
directory="../root/.local/bin"
|
6 |
if [ -d "$directory" ];
|
7 |
then
|
|
|
2 |
echo "Current directory: $(pwd)"
|
3 |
echo "Current path: $PATH"
|
4 |
|
5 |
+
|
6 |
+
|
7 |
+
# Specify the starting directory (e.g., root or home)
|
8 |
+
start_directory="/"
|
9 |
+
|
10 |
+
# Use find to locate 'uv'
|
11 |
+
found=$(find "$start_directory" -name "uv" 2>/dev/null)
|
12 |
+
|
13 |
+
if [ -n "$found" ]; then
|
14 |
+
echo "'uv' found at:"
|
15 |
+
echo "$found"
|
16 |
+
else
|
17 |
+
echo "'uv' not found in $start_directory or its subdirectories"
|
18 |
+
fi
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
directory="../root/.local/bin"
|
23 |
if [ -d "$directory" ];
|
24 |
then
|