From 6758988de6238d627c018601adfa137e9321e69d Mon Sep 17 00:00:00 2001
From: Raymond Toy <toy.raymond@gmail.com>
Date: Mon, 10 Oct 2011 18:59:55 -0700
Subject: [PATCH] Change to correct directory before symlinking the Config and
 Makefile for motif.

---
 tools/create-target.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/create-target.sh b/tools/create-target.sh
index 7c0854c4b..e420f5c31 100755
--- a/tools/create-target.sh
+++ b/tools/create-target.sh
@@ -92,7 +92,7 @@ cd $bld_dir/lisp || quit "Can't cd $bld_dir/lisp"
 ln -s ../../src/lisp/GNUmakefile ../../src/lisp/Config.$lisp_variant ../../src/lisp/Config.*_common .
 ln -s Config.$lisp_variant Config
 [ -n "$motif_variant" ] && (
-    cd motif/server || quit "Can't cd motif/server" # We will still continue in the outer shell
+    cd ../motif/server || quit "Can't cd motif/server" # We will still continue in the outer shell
     ln -s ../../../src/motif/server/GNUmakefile ./Makefile
     ln -s ../../../src/motif/server/Config.$motif_variant ./Config
 )
-- 
GitLab