]> git.openstreetmap.org Git - nominatim.git/blobdiff - vagrant/Install-on-Centos-7.sh
fix CodeSniffer offences
[nominatim.git] / vagrant / Install-on-Centos-7.sh
index 04b2f0413a07d788bf688c4120b35def37336d85..36d3ea4a45fe0959ee68b879a91db1baf68185c0 100755 (executable)
@@ -145,10 +145,10 @@ if [ "x$1" == "xyes" ]; then  #DOCS:
 
     cd $USERHOME
     git clone --recursive git://github.com/openstreetmap/Nominatim.git
-#DOCS:    cd Nominatim
+    cd Nominatim
 
 else                               #DOCS:
-    cd $USERHOME                   #DOCS:
+    cd $USERHOME/Nominatim         #DOCS:
 fi                                 #DOCS:
 
 # When installing the latest source from github, you also need to
@@ -161,6 +161,7 @@ fi                                 #DOCS:
 # The code must be built in a separate directory. Create this directory,
 # then configure and build Nominatim in there:
 
+    cd $USERHOME                   #DOCS:
     mkdir build
     cd build
     cmake $USERHOME/Nominatim