diff options
Diffstat (limited to 'tool/symlink.c')
-rw-r--r-- | tool/symlink.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tool/symlink.c b/tool/symlink.c new file mode 100644 index 000000000..7ba730d8d --- /dev/null +++ b/tool/symlink.c @@ -0,0 +1,7 @@ +#include <unistd.h> + +int main(int argc, const char *argv[]) { + unlink(argv[2]); + symlink(argv[1], argv[2]); + return 0; +} |