Skip to content

Instantly share code, notes, and snippets.

@rfreitas
rfreitas / git-submodule-rm.sh
Created November 13, 2012 17:52 — forked from barraponto/git-submodule-rm.sh
git submodule-rm
#!/bin/bash
function actual_path() {
if [ [ -z "$1" ] -a [ -d $1 ] ]; then
echo $(cd $1 && test `pwd` = `pwd -P`)
return 0
else
return 1
fi
}