UNPKG

490 Bapplication/x-shView Raw
1#!/bin/bash
2
3
4usage(){
5 echo "Usage: $1 src_path dest_path"
6}
7
8if [ -z "$1" ]; then
9 usage
10 exit 1
11fi
12if [ -z "$2" ]; then
13 usage
14 exit 2
15fi
16
17
18#sudo mount --bind -o ro /home/carlo/work/code/sws-frontend/ /home/carlo/work/code/sws-trunk/sws-web-admin/node_modules/sws-frontend/
19sudo mount --bind -o ro $1 $2
20#in case you are on mac try using bindfs:
21#brew install bindfs
22#mkdir node_modules/sws-frontend
23#bindfs -r path/to/sws-frontend path/to/node_modules/sws-frontend
24#-r is for readonly
25