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

Loading…
Cancel
Save