Commit 57ecc3c7 authored by Roman Alifanov's avatar Roman Alifanov

small fix for use in the terminal

parent 16e56fcf
......@@ -66,7 +66,7 @@ yad_log_view() {
hack_for_paths_with_spaces() {
PKG_NAME=$(basename -- "$PKG_PATH" | tr -d ' ')
PKG_SYMB_LINK_PATH="$EPMGPI_TMP/$PKG_NAME"
ln -s "$(realpath "$PKG_PATH")" "$PKG_SYMB_LINK_PATH"
ln -s "$PKG_PATH" "$PKG_SYMB_LINK_PATH"
PKG_PATH=$PKG_SYMB_LINK_PATH
}
......@@ -153,7 +153,7 @@ while [[ $# -gt 0 ]]; do
;;
*)
echo "Переданы аргументы: $1"
PKG_PATH="$1"
PKG_PATH="$(realpath "$1")"
shift
;;
esac
......
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