filter parameter values
This commit is contained in:
parent
383c0f06dd
commit
aa8845f80c
@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
PROG="${0##*/}"
|
PROG="${0##*/}"
|
||||||
|
|
||||||
|
RPM_CLEANUP_METHOD="${RPM_CLEANUP_METHOD## }"
|
||||||
|
RPM_CLEANUP_METHOD="${RPM_CLEANUP_METHOD%% }"
|
||||||
echo "Cleaning files in $RPM_BUILD_ROOT ($RPM_CLEANUP_METHOD)"
|
echo "Cleaning files in $RPM_BUILD_ROOT ($RPM_CLEANUP_METHOD)"
|
||||||
|
|
||||||
if [ "$RPM_CLEANUP_METHOD" = skip ]; then
|
if [ "$RPM_CLEANUP_METHOD" = skip ]; then
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
PROG="${0##*/}"
|
PROG="${0##*/}"
|
||||||
|
|
||||||
|
RPM_COMPRESS_METHOD="${RPM_COMPRESS_METHOD## }"
|
||||||
|
RPM_COMPRESS_METHOD="${RPM_COMPRESS_METHOD%% }"
|
||||||
echo "Compressing files in $RPM_BUILD_ROOT ($RPM_COMPRESS_METHOD)"
|
echo "Compressing files in $RPM_BUILD_ROOT ($RPM_COMPRESS_METHOD)"
|
||||||
|
|
||||||
if [ "$RPM_COMPRESS_METHOD" = skip ]; then
|
if [ "$RPM_COMPRESS_METHOD" = skip ]; then
|
||||||
|
@ -176,8 +176,8 @@ export STRIP_EXECUTABLE=
|
|||||||
export STRIP_RELOCATABLE=
|
export STRIP_RELOCATABLE=
|
||||||
export STRIP_SHARED=
|
export STRIP_SHARED=
|
||||||
export STRIP_STATIC=
|
export STRIP_STATIC=
|
||||||
for t in $RPM_STRIP_METHOD; do
|
for t in `echo "$RPM_STRIP_METHOD" |tr , ' '`; do
|
||||||
case "${t/%,}" in
|
case "$t" in
|
||||||
no|none|off|false)
|
no|none|off|false)
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
PROG="${0##*/}"
|
PROG="${0##*/}"
|
||||||
|
|
||||||
|
RPM_COMPRESS_METHOD="${RPM_COMPRESS_METHOD## }"
|
||||||
|
RPM_COMPRESS_METHOD="${RPM_COMPRESS_METHOD%% }"
|
||||||
case "$RPM_COMPRESS_METHOD" in
|
case "$RPM_COMPRESS_METHOD" in
|
||||||
no|none|plain|skip)
|
no|none|plain|skip)
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user