diff --git a/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run b/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run index 2b1ea85..2fc7eaa 100644 --- a/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run +++ b/vscode/rootfs/etc/s6-overlay/s6-rc.d/init-custom-bash/run @@ -35,7 +35,10 @@ run() { fi if [ "$(ls -A "$CUSTOM_BASH_SCRIPTS_PATH")" ]; then - for script in "${CUSTOM_BASH_SCRIPTS_PATH}"/*.sh/!"$pathsfile"; do + for script in "${CUSTOM_BASH_SCRIPTS_PATH}"/*.sh; do + if [ "$script" = "$pathsfile" ]; then + continue + fi echo "Running custom script: $script" chmod +x "$script" "$script"