mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
fca9d05230
- some Unix shells actually don't like grep ^foo, use grep "^foo" instead. - bash is not installed on every system, please avoid #!/bin/bash and use #!/bin/sh instead
9 lines
138 B
Bash
Executable File
9 lines
138 B
Bash
Executable File
#!/bin/sh
|
|
|
|
prefix1="$1"
|
|
prefix2="$2"
|
|
|
|
(cd $prefix1 && find . ) | sort > p1.txt
|
|
(cd $prefix2 && find . ) | sort > p2.txt
|
|
diff -u p[12].txt
|