diff --git a/sanitize-la.sh b/sanitize-la.sh index 9bc0ba2b3f..0f8cb63b3f 100755 --- a/sanitize-la.sh +++ b/sanitize-la.sh @@ -1,3 +1,6 @@ #!/bin/sh -sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1 +if [ -f $1 ]; then + sed "s/dependency_libs=.*/dependency_libs=''/" < $1 > $1T && mv $1T $1 +fi +