Skip to content

Commit 47d741e

Browse files
committed
format fix
1 parent a9c53ca commit 47d741e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

railway-entrypoint.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@ if [[ -z "${RCLONE_CONFIG}" ]]; then
1111
echo "RCLONE_CONFIG is not specified. Files will not persist"
1212
else
1313
echo "Copying rclone config..."
14-
mkdir -p /home/coder/.config/rclone
15-
echo $RCLONE_CONFIG | base64 -d > /home/coder/.config/rclone/rclone.conf
14+
mkdir -p /home/coder/.config/rclone/
15+
touch /home/coder/.config/rclone/rclone.conf
16+
echo ($RCLONE_CONFIG | base64 -d) > /home/coder/.config/rclone/rclone.conf
1617

1718
# serve remote files on the first item in the rclone config
1819
# rclone serve sftp code-server-files:/home/coder/ --no-auth --vfs-cache-mode full&

0 commit comments

Comments
 (0)