summaryrefslogblamecommitdiffstats
path: root/doc/man-pages/PRE_BUILD
blob: da4af625bfd2b5def0972a556fcef38b2a8233e4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                                           
cd "${BUILD_DIRECTORY}" &&

mk_source_dir "${SOURCE_DIRECTORY}" &&

message "${MESSAGE_COLOR}unxz ${SOURCE_CACHE}/${SOURCE}${DEFAULT_COLOR}" &&
unxz -k "${SOURCE_CACHE}/${SOURCE}" &&
SOURCE="${SOURCE%.xz}" &&
unpack_file "" &&

message "${MESSAGE_COLOR}rm ${SOURCE_CACHE}/${SOURCE}${DEFAULT_COLOR}" &&
rm "${SOURCE_CACHE}/${SOURCE}" &&

SOURCE="${SOURCE}.xz" &&

cd "${SOURCE_DIRECTORY}"