Access rights for binary repository files and dirs (#178)
fix typo in chmod for all binary repository dirs and files
This commit is contained in:
@ -11,8 +11,8 @@ if [ "$box_type" == "RPM" ] ; then
|
|||||||
mkdir -p $path_prefix/$platform/$platform_version/$arch/
|
mkdir -p $path_prefix/$platform/$platform_version/$arch/
|
||||||
rsync -avz --progress --delete ${unsorted_repo_dir}/$repo_name/$box/* $path_prefix/$platform/$platform_version/$arch/
|
rsync -avz --progress --delete ${unsorted_repo_dir}/$repo_name/$box/* $path_prefix/$platform/$platform_version/$arch/
|
||||||
env > $build_info_path
|
env > $build_info_path
|
||||||
find $prefix_path/.. -type d -exec chmod 755 {}
|
find $path_prefix/.. -type d -exec chmod 755 {} \;
|
||||||
find $prefix_path/.. -type f -exec chmod 644 {}
|
find $path_prefix/.. -type f -exec chmod 644 {} \;
|
||||||
cd $path_prefix/$platform
|
cd $path_prefix/$platform
|
||||||
ln -s $platform_version "$platform_version"server
|
ln -s $platform_version "$platform_version"server
|
||||||
ln -s $platform_version "$platform_version"Server
|
ln -s $platform_version "$platform_version"Server
|
||||||
@ -31,8 +31,8 @@ else
|
|||||||
mkdir -p $path_prefix/$platform_family/
|
mkdir -p $path_prefix/$platform_family/
|
||||||
rsync -avz --progress --delete ${unsorted_repo_dir}/$repo_name/$box/* $path_prefix/$platform_family/
|
rsync -avz --progress --delete ${unsorted_repo_dir}/$repo_name/$box/* $path_prefix/$platform_family/
|
||||||
env > $build_info_path
|
env > $build_info_path
|
||||||
find $prefix_path/.. -type d -exec chmod 755 {}
|
find $path_prefix/.. -type d -exec chmod 755 {}
|
||||||
find $prefix_path/.. -type f -exec chmod 644 {}
|
find $path_prefix/.. -type f -exec chmod 644 {}
|
||||||
eval "cat <<EOF
|
eval "cat <<EOF
|
||||||
$(<${script_dir}/templates/repository-config/deb.json.template)
|
$(<${script_dir}/templates/repository-config/deb.json.template)
|
||||||
" 2> /dev/null > ${path_prefix}/${platform}_${platform_version}.json
|
" 2> /dev/null > ${path_prefix}/${platform}_${platform_version}.json
|
||||||
|
Reference in New Issue
Block a user