Skip to content

Commit

Permalink
repo-apt-handle: try realpath for absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyCat committed Aug 30, 2024
1 parent 00fc988 commit 35ab085
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions repo-apt-handle
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ repo_create()
}

# Make paths absolute
GPG_KEY_FILE=$(cd "$GPG_KEY_FILE" && pwd)
GPG_KEY_PASSPHRASE_FILE=$(cd "$GPG_KEY_PASSPHRASE_FILE" && pwd)
REPO_DIR=$(cd "$REPO_DIR" && pwd)
GPG_KEY_FILE=$(realpath "$GPG_KEY_FILE")
GPG_KEY_PASSPHRASE_FILE=$(realpath "$GPG_KEY_PASSPHRASE_FILE")
REPO_DIR=$(realpath "$REPO_DIR")

#install_dependencies
#repo_cleanup
Expand Down

0 comments on commit 35ab085

Please sign in to comment.