Browse Source

Final configuration implementation

master
mid-kid 10 years ago
parent
commit
9f78ed8d43
  1. 11
      astronaut

11
astronaut

@ -2,10 +2,15 @@
set -e set -e
# Paths # Configuration
dir_build="$PWD/build" dir_build="$PWD/build"
dir_source="$PWD/source" dir_source="$PWD/source"
dir_install="$PWD/install" dir_install="$PWD/install"
cmd_download="curl -#L -o {dst} {src}"
cmd_extract="tar xf {src}"
if [ -f /etc/astronaut.conf ]; then
. /etc/astronaut.conf
fi
# Some printing functions # Some printing functions
show_help() { show_help() {
@ -60,10 +65,6 @@ if [ ! -f "$satellite" ]; then
exiterr "Can't find satellite file" exiterr "Can't find satellite file"
fi fi
# Configuration
cmd_download="curl -#L -o {dst} {src}"
cmd_extract="tar xf {src}"
# Tools for the astronaut # Tools for the astronaut
mksum() { mksum() {
echo $(md5sum "$@" 2> /dev/null | cut -d' ' -f1) echo $(md5sum "$@" 2> /dev/null | cut -d' ' -f1)

Loading…
Cancel
Save