summaryrefslogtreecommitdiff
path: root/buildtools
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools')
-rwxr-xr-xbuildtools/compare_config_h3.sh6
-rwxr-xr-xbuildtools/compare_config_h4.sh6
-rwxr-xr-xbuildtools/compare_generated.sh2
-rwxr-xr-xbuildtools/compare_install.sh2
4 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/compare_config_h3.sh b/buildtools/compare_config_h3.sh
index 742aa1b5b8..0f640a9540 100755
--- a/buildtools/compare_config_h3.sh
+++ b/buildtools/compare_config_h3.sh
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/bin/sh
# compare the generated config.h from a waf build with existing samba
# build
-grep ^.define bin/default/source3/include/config.h | sort > waf-config.h
-grep ^.define $HOME/samba_old/source3/include/config.h | sort > old-config.h
+grep "^.define" bin/default/source3/include/config.h | sort > waf-config.h
+grep "^.define" $HOME/samba_old/source3/include/config.h | sort > old-config.h
comm -23 old-config.h waf-config.h
diff --git a/buildtools/compare_config_h4.sh b/buildtools/compare_config_h4.sh
index 6daa743ed2..b78b36fdd0 100755
--- a/buildtools/compare_config_h4.sh
+++ b/buildtools/compare_config_h4.sh
@@ -1,10 +1,10 @@
-#!/bin/bash
+#!/bin/sh
# compare the generated config.h from a waf build with existing samba
# build
-grep ^.define bin/default/source4/include/config.h | sort > waf-config.h
-grep ^.define $HOME/samba_old/source4/include/config.h | sort > old-config.h
+grep "^.define" bin/default/source4/include/config.h | sort > waf-config.h
+grep "^.define" $HOME/samba_old/source4/include/config.h | sort > old-config.h
comm -23 old-config.h waf-config.h
diff --git a/buildtools/compare_generated.sh b/buildtools/compare_generated.sh
index ae20fef37d..ebef8a979b 100755
--- a/buildtools/compare_generated.sh
+++ b/buildtools/compare_generated.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
# compare the generated files from a waf
diff --git a/buildtools/compare_install.sh b/buildtools/compare_install.sh
index 5ddbffb665..b964117550 100755
--- a/buildtools/compare_install.sh
+++ b/buildtools/compare_install.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
prefix1="$1"
prefix2="$2"