Save the original path away.

This commit is contained in:
Chris Johns 2013-04-01 15:35:51 +11:00
parent 4f26bdb2f0
commit ee203a1f7a

View File

@ -164,6 +164,8 @@ defaults = {
# Prebuild set up script.
'___build_pre': ('none', 'none', '''# ___build_pre in as set up in defaults.py
# Save the original path away.
export SB_ORIG_PATH=${PATH}
# Directories
%{?_prefix:SB_PREFIX="%{_prefix}"}
%{?_prefix:SB_PREFIX_CLEAN=$(echo "%{_prefix}" | %{__sed} -e \'s/^\///\')}