Kaydet (Commit) 8a38fee2 authored tarafından Your Name's avatar Your Name

fix

üst 147b22c7
...@@ -75,7 +75,10 @@ run(){ ...@@ -75,7 +75,10 @@ run(){
cd $pwd cd $pwd
if function_exists $1 ; then if function_exists $1 ; then
echo -e "\033[32;1m$2\033[;0m" > /dev/stderr echo -e "\033[32;1m$2\033[;0m" > /dev/stderr
$1 || echo -e "\033[31;1m$1 failed\033[;0m" > /dev/stderr if ! $1 ; then
echo -e "\033[31;1m$1 failed\033[;0m" > /dev/stderr
exit 1
fi
fi fi
} }
create_tar(){ create_tar(){
...@@ -156,10 +159,8 @@ create_inary(){ ...@@ -156,10 +159,8 @@ create_inary(){
} }
run fetch_sources "Downloading" run fetch_sources "Downloading"
run check_make_dep "Checking dependency" run check_make_dep "Checking dependency"
set -e
run pkgver "Runninn pkgver" run pkgver "Runninn pkgver"
run prepare "Running prepare" run prepare "Running prepare"
set -e
run build "Building" run build "Building"
run package "Installing" run package "Installing"
run create_tar "Creating install.tar.xz" run create_tar "Creating install.tar.xz"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment