mirror of
https://github.com/clearlinux/clr-rpm-config.git
synced 2026-06-16 02:25:51 +00:00
d5413349bc
Signed-off-by: Patrick McCarty <patrick.mccarty@intel.com>
9 lines
191 B
Bash
Executable File
9 lines
191 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# If using normal root, avoid changing anything.
|
|
if [ -z "$RPM_BUILD_ROOT" ] || [ "$RPM_BUILD_ROOT" = "/" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
find "$RPM_BUILD_ROOT" -name "*.pyo" -type f -delete
|