Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- BIN="/home/firehak/Desktop"
- PACKAGES="/home/firehak/android/packages"
- cd $PACKAGES
- git_dirs=`find -name .git`
- for d in $git_dirs ;
- do
- string="`pwd`/$d"
- echo "cd" ${string%.git} | sed 's/\/.\//\//g' >> $BIN/supergit.sh
- echo "$BIN/git.sh" >> $BIN/supergit.sh
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement