From 58c7b8bf64da9c8dc60bad5d177832e185a2d160 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Wed, 27 Jan 2016 17:06:50 +0100 Subject: [PATCH] Revert some old stupid change --- astronaut/astronaut | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/astronaut/astronaut b/astronaut/astronaut index 36f11e2..4dc0f83 100755 --- a/astronaut/astronaut +++ b/astronaut/astronaut @@ -8,7 +8,7 @@ dir_sysroot="" # The root dir (The directory programs will look in and symlinks dir_prefix="usr" # Prefix directory cmd_download="curl -# -L -o {dst} {src}" # Command to execute to download files cmd_extract="tar -x -C {dst} -f {src}" # Command to execute to extract files -unset _dir_satellites # Directory where the satellite files are placed. +unset dir_satellites # Directory where the satellite files are placed. unset options [ -f /etc/astronaut.conf ] && . /etc/astronaut.conf [ -f "$HOME/.astronaut.conf" ] && . "$HOME/.astronaut.conf" @@ -204,8 +204,8 @@ _satname="$(basename "$_satellite" .sat)" # Try to find the satellite file if it can't be found. if [ ! -f "$_satellite" ]; then - if [ -d "$_dir_satellites" ]; then - file="$(find "$_dir_satellites" -type f \( -name "$_satname.sat" -o -name "$_satname" \) -print -quit)" + if [ -d "$dir_satellites" ]; then + file="$(find "$dir_satellites" -type f \( -name "$_satname.sat" -o -name "$_satname" \) -print -quit)" if [ -f "$file" ]; then _satellite="$(realpath "$file")" _satname="$(basename "$_satellite" .sat)"