Lines Matching +full:- +full:- +full:working +full:- +full:dir
2 # Copyright (c) 2021-2022 Huawei Device Co., Ltd.
7 # http://www.apache.org/licenses/LICENSE-2.0
15 set -e
19 # -p NUM --strip=NUM Strip NUM leading components from file names.
20 # -i PATCHFILE --input=PATCHFILE Read patch from PATCHFILE instead of stdin.
21 # -d DIR --directory=DIR Change the working directory to DIR first.
23 bash -x ./apply_patch.sh \
25 ../../../../out/ohos-arm-release/libinput_mmi \
46 if [ -d "$out_dir" ]; then
48 rm -rf "$out_dir"
52 mkdir -p $out_dir
55 cp -fra $source_dir/* $out_dir
57 if [ -e "$out_dir/install.sh" ]; then
59 tar -xvJf libevdev-1.13.0.tar.xz
60 cp -rf libevdev-1.13.0/* ./
62 cd -
65 ls -l $path_file_dir/*.diff
66 if [ $? -ne 0 ]; then
71 PATCH_FILE=$(realpath $(ls $path_file_dir/*.diff | tail -n 1))
77 patch -p1 -i $PATCH_FILE
78 if [ $? -ne 0 ]; then