diff options
Diffstat (limited to 'src/ob-applypatches.sh')
-rw-r--r-- | src/ob-applypatches.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ob-applypatches.sh b/src/ob-applypatches.sh index 98aabb9..7b43d41 100644 --- a/src/ob-applypatches.sh +++ b/src/ob-applypatches.sh @@ -39,11 +39,11 @@ apply_patches() { applied='false' - if [ -d ../patches ]; then + if [ -d '../patches' ]; then # Iterate over patches ordered alphabetically by name. - for patch in $(ls -1 ../patches | sort); do + for patch in $(ls -1 '../patches' | sort); do ob_info "$(ob_get_msg 'applying_patch')" "${patch}" - patch -N -p 1 -u -d src -i "../../patches/${patch}" || \ + patch -N -p 1 -u -d 'src' -i "../../patches/${patch}" || \ ob_error "$(ob_get_msg 'cant_apply_patch')" "${patch}" applied='true' done |