mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix mkdep to work with /bin/sh on solaris and friends (bug #3050)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4471 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
5
mkdep
5
mkdep
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash -
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $OpenBSD: mkdep.gcc.sh,v 1.8 1998/09/02 06:40:07 deraadt Exp $
|
||||
# $NetBSD: mkdep.gcc.sh,v 1.9 1994/12/23 07:34:59 jtc Exp $
|
||||
@@ -73,7 +73,8 @@ TMP=$DTMP/mkdep
|
||||
|
||||
um=`umask`
|
||||
umask 022
|
||||
if ! mkdir $DTMP ; then
|
||||
mkdir $DTMP
|
||||
if [ $? != 0 ] ; then
|
||||
echo failed to create tmp dir $DTMP
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user