Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

formating internal/package

  • Loading branch information...
commit 6e47a3dcf811685e25dff218c5ba739b70e88b5e 1 parent 2c97c54
@mpapis mpapis authored
Showing with 6 additions and 16 deletions.
  1. +6 −16 core/internal/shell/package/functions
View
22 core/internal/shell/package/functions
@@ -130,30 +130,20 @@ __sm.package.init()
do
if variable is empty "package_${variable}"
then
- config read file defaults from ${package_name} \
- key ${variable} into ${variable} prefix package
+ config read file defaults from ${package_name} key ${variable} into ${variable} prefix package
fi
done
-
for variable in website_url archive_format
do
if variable is empty "${variable}"
then
- config read file defaults from ${package_name} \
- key ${variable} into ${variable}
+ config read file defaults from ${package_name} key ${variable} into ${variable}
fi
done
-
- config read file defaults from ${package_name} \
- key package_dependencies prefix default
- config read file defaults from ${package_name} \
- key configure_flags prefix default
- config read file defaults from ${package_name} \
- key make_flags prefix default
- config read file defaults from ${package_name} \
- key configure_flag_static prefix default
- config read file defaults from ${package_name} \
- key configure_flag_shared prefix default
+ for variable in package_dependencies configure_flags make_flags configure_flag_static configure_flag_shared
+ do
+ config read file defaults from ${package_name} key ${variable} into ${variable} prefix default
+ done
if command exists "${package_name}_initialize"
then
Please sign in to comment.
Something went wrong with that request. Please try again.