logo       

[PATCH] posix shell syntax: msg#00036

Subject: [PATCH] posix shell syntax
Use posix shell syntax only (for dash).
Change all ". file" into ". ./file"

--
Henry Nestler
# Use posix shell syntax only (for dash).
# Change all ". file" into ". ./file"
#
# Revision: 425313909c448b5b30e5d1e34b1f18c72379e0ef
# Date: 2005-10-13T13:51:10
# Branch: org.colinux.devel
#
# Henry@xxxxxxxxxx

# patch "Makefile.winnt"
# patch "bin/build-all.sh"
# patch "bin/build-colinux-libs.sh"
# patch "bin/build-colinux.sh"
# patch "bin/build-common.sh"
# patch "bin/build-cross.sh"
# patch "bin/build-kernel.sh"
# patch "configure"
# patch "src/colinux/os/winnt/user/install/colinux_def.sh"
# patch "src/colinux/os/winnt/user/install/premaid.sh"
# 
============================================================
--- Makefile.winnt      fe0548a80ec11fe1a14e892872f2e192ee5902ea
+++ Makefile.winnt      a2841f4ebb34450d032d7da9a245c2e6036a31f7
@@ -27,13 +27,13 @@
 
 # Download only all missing sources (for cross compile)
 download:
-       @cd bin && . build-common.sh --download-all
+       @cd bin && . ./build-common.sh --download-all
 
 # Create a pre-distributabel package as ZIP
 package:
-       @cd bin && . build-common.sh --package
+       @cd bin && . ./build-common.sh --package
 
 # Create installer (need wine and running X11)
 installer:
-       @cd src/colinux/os/winnt/user/install && . premaid.sh
+       @cd src/colinux/os/winnt/user/install && . ./premaid.sh
        @cd src && make installer
============================================================
--- bin/build-all.sh    d59229bc56bb577407ab34b8ab8d0bf5afee3925
+++ bin/build-all.sh    6e3174f0f1bb0a560e1cb544d3bad81c8a3e0a94
@@ -1,4 +1,4 @@
 #!/bin/sh
 
-. build-common.sh
+. ./build-common.sh
 build_all $@
============================================================
--- bin/build-colinux-libs.sh   ba9dcb7bb2e284c451894845b2d137305b7b1bbc
+++ bin/build-colinux-libs.sh   120f24296e2fd87e96af498f7c02a377b69c7c7b
@@ -1,8 +1,8 @@
 #!/bin/sh
 
 # Build libraries for cross platform mingw32
 
-. build-common.sh
+. ./build-common.sh
 
 # Store version of installed libs here
 VERSION_CACHE="$PREFIX/$TARGET/include"
============================================================
--- bin/build-colinux.sh        c9777bfe4c3f44d499003dae4591872cdc11f367
+++ bin/build-colinux.sh        18b294705c980e4843705a6e5585c3148614bf47
@@ -1,8 +1,8 @@
 #!/bin/sh
 
 # Build colinux daemons from cross platform. Read doc/building
 
-. build-common.sh
+. ./build-common.sh
 
 # Need Variable in make
 export COLINUX_TARGET_KERNEL_PATH
============================================================
--- bin/build-common.sh 78ee435cdff0b661c08f80093b220f4115d04226
+++ bin/build-common.sh 7431bef75cd3e7740e479291f38ff821bdd3f049
@@ -33,10 +33,10 @@
 # Use User config, if exist
 if [ -f user-build.cfg ] ; then
        # Users directories
-       . user-build.cfg
+       . ./user-build.cfg
 else
        # fall back to default config
-       . sample.user-build.cfg
+       . ./sample.user-build.cfg
 fi
 
 # what flavor are we building?
============================================================
--- bin/build-cross.sh  a811bfe1e1d7a7eb3dcc880fc86321a24d51dc57
+++ bin/build-cross.sh  58aff4b0faad6311bb4794425c7ec6a037d64bf8
@@ -1,8 +1,8 @@
 #!/bin/sh
 
 # Build cross platform mingw32.
 
-. build-common.sh
+. ./build-common.sh
 
 download_files()
 {
============================================================
--- bin/build-kernel.sh ecaa405f636702ba1b32d7ffd10454ffb0d2374c
+++ bin/build-kernel.sh 11d35dcb8ee618718e7b7b6757601b5f2e64cb71
@@ -10,7 +10,7 @@
 #                      Disable md5sum. untar and patch source.
 #                      Overwrite all old source!
 
-. build-common.sh
+. ./build-common.sh
 
 download_files()
 {
============================================================
--- configure   a93af0595c72f8a34f193bd7eff7d6913352cbbb
+++ configure   53d81f158efc86daa826dc3bee4995e769d62207
@@ -11,7 +11,7 @@
 #      ./configure --help
 
 # Some defaults from config file (Kernel version and dir, binutil version)
-cd bin; . build-common.sh --get-vars; cd ..
+cd bin; . ./build-common.sh --get-vars; cd ..
 
 # Some default values
 target=i686-pc-mingw32
============================================================
--- src/colinux/os/winnt/user/install/colinux_def.sh    
867c098fc6cd15f6b2c415090056ebbbb76f1f1c
+++ src/colinux/os/winnt/user/install/colinux_def.sh    
92532a76ea42f22594efe9c7a712fc9cdcf3f2fa
@@ -11,7 +11,7 @@
 TARGET_FILE=$2
 
 # Get kernel version
-KERNEL_VERSION=`cd bin; . build-common.sh --get-vars; echo \$KERNEL_VERSION`
+KERNEL_VERSION=`cd bin; . ./build-common.sh --get-vars; echo \$KERNEL_VERSION`
 
 # coLinux full version with "-preXX", if exist
 PRE_VERSION=`cat $1`
============================================================
--- src/colinux/os/winnt/user/install/premaid.sh        
45c69cfaea086b6302ad8fbcde32cdd7b8e06c43
+++ src/colinux/os/winnt/user/install/premaid.sh        
545823e2ee54a9a4fee934c9a8d8925fa77eb333
@@ -7,7 +7,7 @@
 THISDIR=`pwd`
 
 # get configure
-cd ${TOPDIR}/bin; . build-common.sh; cd $THISDIR
+cd ${TOPDIR}/bin; . ./build-common.sh; cd $THISDIR
 
 PATH="$PREFIX/bin:$PATH"
 STRIP="$TARGET-strip --strip-all"
<Prev in Thread] Current Thread [Next in Thread>