File: case_sensitive_filesystem

package info (click to toggle)
dart 6.13.2%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 56,948 kB
  • sloc: cpp: 274,310; python: 3,973; xml: 1,272; sh: 404; makefile: 31
file content (12 lines) | stat: -rwxr-xr-x 218 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Create a temporary file
tmpFile=`mktemp /tmp/CaseSensitiveXXXXXXXX`
if [ -f `echo $tmpFile | tr '[A-Z]' '[a-z]'` ]
then
  #echo Not Case Sensitive
  rm $tmpFile
  exit 1
fi
#echo Case Sensitive
rm $tmpFile