diff options
-rw-r--r-- | Functions/Misc/harden | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Functions/Misc/harden b/Functions/Misc/harden new file mode 100644 index 000000000..0058382b3 --- /dev/null +++ b/Functions/Misc/harden @@ -0,0 +1,6 @@ +#!/bin/sh +# harden a link (convert it to a singly linked file) +cp $1 $1.foo +rm $1 +mv $1.foo $1 + |