summaryrefslogtreecommitdiffstats
path: root/core/modules/xorg/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/xorg/module.build')
-rw-r--r--core/modules/xorg/module.build4
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