mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-10 22:44:04 +00:00
scripts,ipkg-build: use realpath for pkg_dir
This allows manual execution of the ipkg-build script even with releative path. Signed-off-by: Paul Spooren <mail@aparcar.org> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
b7a972ac3f
commit
0c263b00ef
@ -124,7 +124,7 @@ case $# in
|
||||
;;
|
||||
esac
|
||||
|
||||
pkg_dir="$1"
|
||||
pkg_dir="$(realpath "$1")"
|
||||
|
||||
if [ ! -d "$pkg_dir" ]; then
|
||||
echo "*** Error: Directory $pkg_dir does not exist" >&2
|
||||
|
Loading…
x
Reference in New Issue
Block a user