diff options
author | Allan McRae <allan@archlinux.org> | 2010-05-22 22:27:14 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-05-24 21:23:47 -0500 |
commit | 3cd237dec34801963b8cd522038e1a86948d2c91 (patch) | |
tree | 9df871c2e79fa917ed727c8fb7150481f1aed1d9 /scripts/makepkg.sh.in | |
parent | 52c3f871db3142c5157b898b46ca4f1eef05ff73 (diff) | |
download | pacman-3cd237dec34801963b8cd522038e1a86948d2c91.tar.xz |
makepkg: fix permissions on install and changelog files
The .INSTALL and .CHANGELOG files in a package retained the permissions
that they had in $startdir. Do a chmod after copying to ensure
that the permissions are sane.
Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts/makepkg.sh.in')
-rw-r--r-- | scripts/makepkg.sh.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 49dc7148..dec771ee 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -1013,6 +1013,7 @@ create_package() { if [[ -n $install ]]; then msg2 "$(gettext "Adding install script...")" cp "$startdir/$install" .INSTALL + chmod 644 .INSTALL comp_files="$comp_files .INSTALL" fi @@ -1020,6 +1021,7 @@ create_package() { if [[ -n $changelog ]]; then msg2 "$(gettext "Adding package changelog...")" cp "$startdir/$changelog" .CHANGELOG + chmod 644 .CHANGELOG comp_files="$comp_files .CHANGELOG" fi |