If a binary path is given to the setup, use that filename rather than the hardcoded one
This commit is contained in:
parent
b8e2310461
commit
484b420e40
|
|
@ -43,8 +43,16 @@ else
|
|||
cp $abs_path $tmp_dir
|
||||
fi
|
||||
|
||||
# if abs_path is present, grab the filename from it
|
||||
if [ -n "$abs_path" ]
|
||||
then
|
||||
filename=$(basename $abs_path)
|
||||
else
|
||||
filename="breezyGNOME.tar.gz"
|
||||
fi
|
||||
|
||||
echo "Extracting to: ${tmp_dir}/breezy_gnome"
|
||||
tar -xf breezyGNOME.tar.gz
|
||||
tar -xf $filename
|
||||
|
||||
pushd breezy_gnome > /dev/null
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue