Skip to content

Commit 5d9c0fd

Browse files
committed
Ubuntu 20.04 does not like the modern syntax
1 parent 6747860 commit 5d9c0fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ldnp/abstractpackager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def create_binary_script(script_path: str | os.PathLike, target_binary: str | os
171171
' for script in "$script_dir"/*; do',
172172
" # some plugins put non-script files in the directory"
173173
" # we do our best to avoid running them by accident",
174-
' [[ ! -f "$script" ]] && continue',
174+
' [ ! -f "$script" ] && continue',
175175
"",
176176
" # shellcheck disable=SC1090",
177177
' . "$script"',

0 commit comments

Comments
 (0)