From 11a162b0e545d8e18b26cad5cdec1283ddc4a3d4 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sun, 14 Apr 2024 15:17:42 +0200 Subject: [PATCH] repo: make file executable permissions match the cygwin derived status In case we have a git clone from Linux that is accessed via cygwin git the files executable status will be derived from the file content (shebang) and won't match the git repo, leading to a initially dirty tree. This can be worked around by setting "core.filemode=false", but let's try to match the cygwin permissions with the in-repo permissions so this isn't needed. --- .ci/ci-build.sh | 0 .ci/fetch-validpgpkeys.sh | 0 ca-certificates/certdata2pem.py | 0 ca-certificates/update-ca-trust | 0 expect/config.guess | 0 expect/config.sub | 0 filesystem/cmd | 0 filesystem/shell | 0 filesystem/start | 0 gradle/gradle.sh | 0 libqrencode/PKGBUILD | 1 - man-db/convert-mans | 0 msys2-runtime-3.3/update-patches.sh | 0 msys2-runtime-3.4/update-patches.sh | 0 msys2-runtime-3.5/update-patches.sh | 0 msys2-runtime/update-patches.sh | 0 msys2-unlocker/splash/convert-all-xcf-to-jpg | 0 pacman/makepkg-mingw | 0 pacman/update-patches.sh | 0 perl/generate-rebuild-list.sh | 0 perl/patchprov | 0 perl/perlrebase | 0 pkgfile/pkgfile.install | 2 -- rlwrap/rlwrap.install | 2 -- subversion/svnclean | 0 25 files changed, 5 deletions(-) mode change 100644 => 100755 .ci/ci-build.sh mode change 100644 => 100755 .ci/fetch-validpgpkeys.sh mode change 100644 => 100755 ca-certificates/certdata2pem.py mode change 100644 => 100755 ca-certificates/update-ca-trust mode change 100644 => 100755 expect/config.guess mode change 100644 => 100755 expect/config.sub mode change 100644 => 100755 filesystem/cmd mode change 100644 => 100755 filesystem/shell mode change 100644 => 100755 filesystem/start mode change 100644 => 100755 gradle/gradle.sh mode change 100644 => 100755 man-db/convert-mans mode change 100644 => 100755 msys2-runtime-3.3/update-patches.sh mode change 100644 => 100755 msys2-runtime-3.4/update-patches.sh mode change 100644 => 100755 msys2-runtime-3.5/update-patches.sh mode change 100644 => 100755 msys2-runtime/update-patches.sh mode change 100644 => 100755 msys2-unlocker/splash/convert-all-xcf-to-jpg mode change 100644 => 100755 pacman/makepkg-mingw mode change 100644 => 100755 pacman/update-patches.sh mode change 100644 => 100755 perl/generate-rebuild-list.sh mode change 100644 => 100755 perl/patchprov mode change 100644 => 100755 perl/perlrebase mode change 100644 => 100755 subversion/svnclean diff --git a/.ci/ci-build.sh b/.ci/ci-build.sh old mode 100644 new mode 100755 diff --git a/.ci/fetch-validpgpkeys.sh b/.ci/fetch-validpgpkeys.sh old mode 100644 new mode 100755 diff --git a/ca-certificates/certdata2pem.py b/ca-certificates/certdata2pem.py old mode 100644 new mode 100755 diff --git a/ca-certificates/update-ca-trust b/ca-certificates/update-ca-trust old mode 100644 new mode 100755 diff --git a/expect/config.guess b/expect/config.guess old mode 100644 new mode 100755 diff --git a/expect/config.sub b/expect/config.sub old mode 100644 new mode 100755 diff --git a/filesystem/cmd b/filesystem/cmd old mode 100644 new mode 100755 diff --git a/filesystem/shell b/filesystem/shell old mode 100644 new mode 100755 diff --git a/filesystem/start b/filesystem/start old mode 100644 new mode 100755 diff --git a/gradle/gradle.sh b/gradle/gradle.sh old mode 100644 new mode 100755 diff --git a/libqrencode/PKGBUILD b/libqrencode/PKGBUILD index f79d75e2..b9518477 100644 --- a/libqrencode/PKGBUILD +++ b/libqrencode/PKGBUILD @@ -1,4 +1,3 @@ -#! /usr/bin/bash # Maintainer: micbou pkgbase=libqrencode diff --git a/man-db/convert-mans b/man-db/convert-mans old mode 100644 new mode 100755 diff --git a/msys2-runtime-3.3/update-patches.sh b/msys2-runtime-3.3/update-patches.sh old mode 100644 new mode 100755 diff --git a/msys2-runtime-3.4/update-patches.sh b/msys2-runtime-3.4/update-patches.sh old mode 100644 new mode 100755 diff --git a/msys2-runtime-3.5/update-patches.sh b/msys2-runtime-3.5/update-patches.sh old mode 100644 new mode 100755 diff --git a/msys2-runtime/update-patches.sh b/msys2-runtime/update-patches.sh old mode 100644 new mode 100755 diff --git a/msys2-unlocker/splash/convert-all-xcf-to-jpg b/msys2-unlocker/splash/convert-all-xcf-to-jpg old mode 100644 new mode 100755 diff --git a/pacman/makepkg-mingw b/pacman/makepkg-mingw old mode 100644 new mode 100755 diff --git a/pacman/update-patches.sh b/pacman/update-patches.sh old mode 100644 new mode 100755 diff --git a/perl/generate-rebuild-list.sh b/perl/generate-rebuild-list.sh old mode 100644 new mode 100755 diff --git a/perl/patchprov b/perl/patchprov old mode 100644 new mode 100755 diff --git a/perl/perlrebase b/perl/perlrebase old mode 100644 new mode 100755 diff --git a/pkgfile/pkgfile.install b/pkgfile/pkgfile.install index 9f29a545..0a880588 100644 --- a/pkgfile/pkgfile.install +++ b/pkgfile/pkgfile.install @@ -1,5 +1,3 @@ -#!/usr/bin/env sh - post_install() { printf "==> Run 'pkgfile --update' to initialize the database\n" } diff --git a/rlwrap/rlwrap.install b/rlwrap/rlwrap.install index 1bd88515..0ecbb7bf 100644 --- a/rlwrap/rlwrap.install +++ b/rlwrap/rlwrap.install @@ -1,5 +1,3 @@ -#!/bin/bash - post_install() { cat <