Skip to content

Commit a8ed145

Browse files
committed
Update copy-libs.sh
1 parent 4e28a07 commit a8ed145

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Diff for: tools/copy-libs.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,12 @@ mkdir -p "$AR_SDK"
4444
mkdir -p "$AR_SDK/lib"
4545

4646
function get_actual_path(){
47-
p="$PWD"; cd "$1"; r="$PWD"; cd "$p"; echo "$r";
47+
d="$1";
48+
if [ -d "$d" ]; then
49+
p="$PWD"; cd "$d"; r="$PWD"; cd "$p"; echo "$r";
50+
else
51+
echo "";
52+
fi
4853
}
4954

5055
#

0 commit comments

Comments
 (0)