diff options
author | Simon Rettberg | 2019-11-26 15:10:29 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-11-26 15:10:29 +0100 |
commit | 49bb18e8d8728aa177095adade1a5ead690c9151 (patch) | |
tree | e5b48da78da656c29b8812ba86e24ab9e00bd3ad /core/modules/xorg | |
parent | [rootfs-stage32] Add missing quotes (diff) | |
download | mltk-49bb18e8d8728aa177095adade1a5ead690c9151.tar.gz mltk-49bb18e8d8728aa177095adade1a5ead690c9151.tar.xz mltk-49bb18e8d8728aa177095adade1a5ead690c9151.zip |
[*] cd <...> || perror --> cde <...>
Diffstat (limited to 'core/modules/xorg')
-rw-r--r-- | core/modules/xorg/module.build | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/xorg/module.build b/core/modules/xorg/module.build index 390b5922..8e165f08 100644 --- a/core/modules/xorg/module.build +++ b/core/modules/xorg/module.build @@ -4,7 +4,7 @@ fetch_source() { if [ -n "$REQUIRED_XORG_DRIVERS" ]; then local drv mkdir -p src - cd src || perror "No cd to xorg src dir" + cde src for drv in $REQUIRED_XORG_DRIVERS; do drv=${drv%//*} [ -d "${drv}/.git" ] && continue @@ -43,7 +43,7 @@ build() { repo=${drv%//*} vers=${drv#*//} pinfo "Compiling $drv" - cd "${MODULE_WORK_DIR}/src/${repo}" || perror "No src dir for xorg driver $repo" + cde "${MODULE_WORK_DIR}/src/${repo}" if [ "$drv" != "$vers" ]; then git checkout "$vers" || pwarn "Could not checkout $vers for $repo" fi |