Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # This is an script to replace all symlinks is current directory with real content
- # This will prevent dpkg-source from giving errores
- for link in $(find $1 -type l)
- do
- loc=$(dirname $link)
- dir=$(readlink -e $link)
- rm -v $link
- cp -v -f $dir $loc
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement