diff --git a/.gitignore b/.gitignore index 420f8a8..876e401 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,11 @@ seafile-server-pkgs/ # build artefacts .build.sh.swp +# MacOS +.DS_Store + +# IntelliJ +.idea + +# VSCode +.vscode diff --git a/build-server.py.patch b/build-server.py.patch index 43a6150..74b979e 100644 --- a/build-server.py.patch +++ b/build-server.py.patch @@ -68,8 +68,8 @@ index a479b6c75..ad60b4d46 100755 excludes = ' '.join(excludes_list) - tar_cmd = 'tar czf %(tarball_name)s %(versioned_serverdir)s %(excludes)s' \ -+ # tar will copy the content the directory python3.[7-9]/ to python3.6/ -+ transform = '--transform=\'s,python3.[7-9]/,python3/,\'' ++ # tar will copy the content the directory python3.[0-9]+/ to python3/ ++ transform = '--transform=\'s,python3\.[0-9]\+/,python3/,\'' + + tar_cmd = 'tar czf %(tarball_name)s %(transform)s %(versioned_serverdir)s %(excludes)s' \ % dict(tarball_name=tarball_name,