mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
package: fix Bourne compat (re: 48e6dd98
)
Tried to compile on Solaris 10.1 for the first time in a while. Turns out the obsolete Bourne /bin/sh does not support 'test -e'. bin/package, src/cmd/INIT/package.sh: - Use 'test -f' instead.
This commit is contained in:
parent
c734568b02
commit
77c7de7cc7
2 changed files with 2 additions and 2 deletions
|
@ -5848,7 +5848,7 @@ cat $j $k
|
|||
for var in CC CCFLAGS CCLDFLAGS LDFLAGS KSH_RELFLAGS
|
||||
do store=$INSTALLROOT/lib/package/gen/$var
|
||||
eval "new=\$$var"
|
||||
if test -e $store
|
||||
if test -f $store
|
||||
then old=`cat $store`
|
||||
case $old in
|
||||
"$new") ;;
|
||||
|
|
|
@ -5848,7 +5848,7 @@ cat $j $k
|
|||
for var in CC CCFLAGS CCLDFLAGS LDFLAGS KSH_RELFLAGS
|
||||
do store=$INSTALLROOT/lib/package/gen/$var
|
||||
eval "new=\$$var"
|
||||
if test -e $store
|
||||
if test -f $store
|
||||
then old=`cat $store`
|
||||
case $old in
|
||||
"$new") ;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue