Kaydet (Commit) 43f4a13a authored tarafından Enrico Tröger's avatar Enrico Tröger

Remove more bashisms and avoid using 'which' which is not LSB-compliant.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3039 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 737c7a6d
......@@ -11,6 +11,9 @@
Add an option to store the project file of new projects inside the
project base directory.
Doc: Add descriptions for the Search tab in the preferences dialog.
* scripts/svn-changes.sh, scripts/wafinit.sh:
Remove more bashisms and avoid using 'which' which is not
LSB-compliant.
2008-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
......
......@@ -27,8 +27,8 @@ fi
# show modifications
if [ -n "$files" ]; then
echo 'Changes:'
if [[ -z $SPACES ]]; then
files+=':'
if [ -z $SPACES ]; then
files="${files}:"
fi
# indent and wrap
OUTFILE=/tmp/fmt
......
......@@ -3,11 +3,10 @@
# This script creates a "configure" script and a Makefile to imitate autotools
# but Waf is actually used to build
WAF=`which waf`
if [ "x$WAF" = "x" ]
then
WAF="waf"
(waf --version) < /dev/null > /dev/null 2>&1 || {
WAF="./waf"
fi
}
# Makefile
cat > Makefile << EOF
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment